We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
type
What you were expecting: Be able to not pass optional argument type to useNotify returned function
useNotify
What happened instead: Code breaks because destructuring undefined throws an error.
undefined
Steps to reproduce:
const notify = useNotify(); notify();
Environment
The text was updated successfully, but these errors were encountered:
Yes, It's been fixed in #6713.
Sorry, something went wrong.
@WiXSL #6760 brought the problem back
opened #6768
Successfully merging a pull request may close this issue.
What you were expecting:
Be able to not pass optional argument
type
touseNotify
returned functionWhat happened instead:
Code breaks because destructuring
undefined
throws an error.Steps to reproduce:
Environment
The text was updated successfully, but these errors were encountered: