Skip to content

Commit

Permalink
feat: test 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
SeieunYoo committed Oct 9, 2024
1 parent 3649816 commit 2a6dac0
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/wow-ui/src/components/Checkbox/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ const Checkbox = forwardRef<HTMLInputElement, CheckboxProps>(
})}
{...inputProps}
value={value}
onClick={() => handleClick(value)}
onChange={() => handleClick(value)}
/>
{checked && (
<styled.span
Expand Down
2 changes: 1 addition & 1 deletion packages/wow-ui/src/components/Switch/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ const Switch = forwardRef<HTMLInputElement, SwitchProps>(
ref={ref}
type="checkbox"
value={value}
onClick={() => handleClick(value)}
onChange={() => handleClick(value)}
{...inputProps}
/>
<SwitchIcon checked={checked} disabled={disabled} pressed={pressed} />
Expand Down
1 change: 0 additions & 1 deletion packages/wow-ui/src/components/Tabs/TabsList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ const TabsList = ({ children }: PropsWithChildren) => {
if (!isControlled && !selectedValue && values.size > 0) {
setSelectedValue(values.values().next().value);
}
console.log("처음에만 실행");
}, []);

const updateFocusedValue = useCallback(
Expand Down

0 comments on commit 2a6dac0

Please sign in to comment.