Skip to content

Commit

Permalink
get rid of the default value for the shouldOpenOnHover property of a …
Browse files Browse the repository at this point in the history
…tooltip
  • Loading branch information
budnik9 committed Jan 8, 2024
1 parent ebbe62c commit 283dc69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shared/ui-kit/Tooltip/hooks/useTooltip.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export const useTooltip = (options: TooltipOptions = {}) => {
placement = "top",
open: controlledOpen,
onOpenChange: setControlledOpen,
shouldOpenOnHover = false,
shouldOpenOnHover,
} = options;
const [uncontrolledOpen, setUncontrolledOpen] = useState(initialOpen);
const arrowRef = useRef<HTMLDivElement>(null);
Expand Down

0 comments on commit 283dc69

Please sign in to comment.