Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
qkrdmstlr3 committed Aug 20, 2024
1 parent d644718 commit bf9b3c1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 1 addition & 2 deletions src/system/components/Dropdown/compounds/CheckboxItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ export const CheckboxItem = forwardRef<HTMLButtonElement, Props>(function Checkb
{ checked, disabled, children, ...restProps },
ref,
) {
const { styles } = useDropdownContext();
const { logics } = useDropdownContext();
const { styles, logics } = useDropdownContext();

return (
<button ref={ref} disabled={disabled} {...mergeProps(styles['checkbox-item'], logics['checkbox-item'], restProps)}>
Expand Down
2 changes: 2 additions & 0 deletions src/system/components/Dropdown/compounds/Root.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
'use client';

import * as RadixDropdownMenu from '@radix-ui/react-dropdown-menu';
import { PropsWithChildren, useState } from 'react';
import { DropdownProvider } from '../context';
Expand Down

0 comments on commit bf9b3c1

Please sign in to comment.