Skip to content

[fix]: useClickOutside 🧊 Properly destructure ref in useClickOutside demo#442

Merged
debabin merged 1 commit into
siberiacancode:mainfrom
forckes:fix/useClickOutside-demo
Mar 5, 2026
Merged

[fix]: useClickOutside 🧊 Properly destructure ref in useClickOutside demo#442
debabin merged 1 commit into
siberiacancode:mainfrom
forckes:fix/useClickOutside-demo

Conversation

@forckes
Copy link
Copy Markdown
Contributor

@forckes forckes commented Mar 5, 2026

Properly destructured ref from useClickOutside hook in the Demo example.

Previously, the hook result was assigned directly to a variable, which broke click counts.

Fixes #441

@forckes forckes force-pushed the fix/useClickOutside-demo branch from b958fdc to 21b9ff4 Compare March 5, 2026 12:18
@debabin debabin merged commit a8957f1 into siberiacancode:main Mar 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Demo for useClickOutside hook does not count outside clicks

2 participants