Skip to content

Commit 1decedd

Browse files
authored
Fix the tooltip example (#154)
1 parent 08fec7f commit 1decedd

File tree

1 file changed

+1
-1
lines changed
  • sites/floating-ui-svelte.vercel.app/src/routes/(inner)/examples/tooltips

1 file changed

+1
-1
lines changed

sites/floating-ui-svelte.vercel.app/src/routes/(inner)/examples/tooltips/Example.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const floating = useFloating({
2323
get open() {
2424
return open;
2525
},
26-
onOpenChange: (v) => (v) => {
26+
onOpenChange: (v) => {
2727
open = v;
2828
},
2929
placement: "top",

0 commit comments

Comments
 (0)