diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 61fd5c63d5..05ae2c58f7 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -108,6 +108,7 @@ jobs: storybookBaseDir: ./packages/storybook exitOnceUploaded: true # Do not wait for test results exitZeroOnChanges: true # Option to prevent the workflow from failing + forceRebuild: true # Always publish build so example app only changes are pushed # Validate (Lint and Test) - run: npm run validate diff --git a/packages/react-workspace/react-client-app/src/components/OverviewSection.tsx b/packages/react-workspace/react-client-app/src/components/OverviewSection.tsx index 5050841c68..78ab009f0e 100644 --- a/packages/react-workspace/react-client-app/src/components/OverviewSection.tsx +++ b/packages/react-workspace/react-client-app/src/components/OverviewSection.tsx @@ -3,7 +3,7 @@ import { SubContainer } from './SubContainer'; export function OverviewSection(): React.JSX.Element { return ( - + Explore the components below to see the Nimble components in action. See the Nimble component docs for additional usage details. Navigate to the parent page. diff --git a/packages/react-workspace/react-client-app/src/components/SubContainer.tsx b/packages/react-workspace/react-client-app/src/components/SubContainer.tsx index 5a789c4c6a..025056b1f2 100644 --- a/packages/react-workspace/react-client-app/src/components/SubContainer.tsx +++ b/packages/react-workspace/react-client-app/src/components/SubContainer.tsx @@ -1,7 +1,7 @@ import type { ReactNode } from 'react'; interface SubContainerProp { - label: string; + label?: string; children?: ReactNode; } @@ -9,7 +9,7 @@ export function SubContainer({ label, children }: SubContainerProp): React.JSX.E return ( <>
-
{label}
+ {label &&
{label}
}
{children}