You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and when an error occurs I'd love to show a dialog sth like this:
<ButtononClick={()=>getData()}>Get Data</Button><Dialogopen={!!error}onClose={/* how to close the dialog now? */}>
...content...
</Dialog>
now I'd love to add the onClose handler to let a user close the dialog, but how to do this?
Is making a successful request the only way to clear the error?
The text was updated successfully, but these errors were encountered:
hakubo
changed the title
How to clear error?
How to clear an error?
Jan 13, 2020
I have a
and when an error occurs I'd love to show a dialog sth like this:
now I'd love to add the onClose handler to let a user close the dialog, but how to do this?
Is making a successful request the only way to clear the error?
The text was updated successfully, but these errors were encountered: