Skip to content

Commit

Permalink
fix unit test failures
Browse files Browse the repository at this point in the history
  • Loading branch information
storywithoutend committed Dec 2, 2024
1 parent f14b6a0 commit 388e204
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/src/components/molecules/Checkbox/Checkbox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Omit<
| 'width'
>

const SVG = (props: React.SVGProps<SVGSVGElement>) => <svg width="12" height="12" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}><path d="M2 12.625L10.125 20.125L22 3.875" fill="none" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" /></svg>
const SVG = (props: React.SVGProps<SVGSVGElement>) => <svg width="12" height="12" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}><path d="M2 12.625L10.125 20.125L22 3.875" fill="none" strokeWidth="4" strokeLinecap="round" strokeLinejoin="round" /></svg>

const InputBox = React.forwardRef<HTMLElement, BoxProps & { baseColor: Hue, baseTheme: 'Primary' | 'Secondary' }>(
({ baseColor, baseTheme, disabled, checked, ...props }, ref) => (
Expand Down
3 changes: 2 additions & 1 deletion components/src/components/organisms/Dialog/Dialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ const StepContainer = ({ children }: React.PropsWithChildren) => (
flexDirection="row"
gap="2"
justifyContent="center"
data-testid="step-container"
>
{children}
</Box>
Expand Down Expand Up @@ -260,7 +261,7 @@ const Footer: React.FC<{
return (
<FooterContainer>
{stepCount && (
<StepContainer data-testid="step-container">
<StepContainer>
{Array.from({ length: stepCount }, (_, i) => (
<StepItem
$type={calcStepType(i)}
Expand Down

0 comments on commit 388e204

Please sign in to comment.