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
To show feedback to the user (for example on saving/editing) we need to show a notification popup of the action that has been done.
To do this we need to provide context on redirect to show a popup, @Samueljh1 suggested you can send state with a redirect but don't know if this is possible using NextJS router.
Instead, we could "send" it by using a context variable that only the Page component needs access to, and other components will update.
The text was updated successfully, but these errors were encountered:
Since you now edit everything live, we should probably instead give status notifications on successful changes, actions, or errors. We can use ChakraUI's Toasts for this.
To show feedback to the user (for example on saving/editing) we need to show a notification popup of the action that has been done.
To do this we need to provide context on redirect to show a popup, @Samueljh1 suggested you can send state with a redirect but don't know if this is possible using NextJS router.
Instead, we could "send" it by using a context variable that only the Page component needs access to, and other components will update.
The text was updated successfully, but these errors were encountered: