Skip to content

Commit

Permalink
[@mantine/hooks] use-fullscreen: Fix target node changes being ignored (
Browse files Browse the repository at this point in the history
  • Loading branch information
linspw authored Oct 2, 2024
1 parent b2ac0e3 commit 8d92f80
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ export function useFullscreen<T extends HTMLElement = any>() {
}

return undefined;
}, []);
}, [_ref.current]);

return { ref, toggle, fullscreen } as const;
}

0 comments on commit 8d92f80

Please sign in to comment.