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
SCRIPT_DEBUG
Warning: Failed prop type: The prop onDiscard is marked as required in UnsavedChangesModal, but its value is undefined.
onDiscard
UnsavedChangesModal
undefined
The useBlocker can return undefined for proceed (and reset) for specific states. See their type def in the documentation: https://reactrouter.com/en/main/hooks/use-blocker
useBlocker
proceed
reset
If possible, please provide a screenshot, a screen recording or a code snippet which demonstrates the bug.
The text was updated successfully, but these errors were encountered:
leonidasmi
Successfully merging a pull request may close this issue.
Please give us a description of what happened
To Reproduce
Step-by-step reproduction instructions
SCRIPT_DEBUG
)The
useBlocker
can returnundefined
forproceed
(andreset
) for specific states.See their type def in the documentation: https://reactrouter.com/en/main/hooks/use-blocker
Expected results
Actual results
Screenshots, screen recording, code snippet
If possible, please provide a screenshot, a screen recording or a code snippet which demonstrates the bug.
Technical info
Used versions
The text was updated successfully, but these errors were encountered: