Passing a custom Alert
component to notify()
removes the whole app from the DOM
#9841
Labels
Alert
component to notify()
removes the whole app from the DOM
#9841
What you were expecting:
I have a custom
mutationOptions
withonError
on aCreate
form that displays a customAlert
component:
This works fine:
Screen.Recording.2024-05-11.at.15.13.27.mov
I would expect to be able to extract this alert's JSX to do something like:
And it should work the same.
What happened instead:
I get a white page instead of seeing the error, it breaks the app and there is no error log:
Screen.Recording.2024-05-11.at.15.12.39.mov
Steps to reproduce:
npm run dev
Related code:
Other information:
Environment
The text was updated successfully, but these errors were encountered: