Skip to content

Commit

Permalink
refactor(twenty-ui): Revert change on MenuItemSelect and Select
Browse files Browse the repository at this point in the history
  • Loading branch information
AMoreaux committed Nov 19, 2024
1 parent 90ec8f8 commit d1047ec
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions packages/twenty-ui/src/input/components/Toggle.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,6 @@ export const Toggle = ({
type="checkbox"
checked={value}
disabled={disabled}
onClick={(event) => {
event.stopPropagation();
}}
onChange={(event) => {
onChange?.(event.target.checked);
}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ type MenuItemSelectProps = {
selected: boolean;
text: string;
className?: string;
onClick?: (event: React.MouseEvent) => void;
onClick?: () => void;
disabled?: boolean;
hovered?: boolean;
hasSubMenu?: boolean;
Expand Down

0 comments on commit d1047ec

Please sign in to comment.