Skip to content
New issue

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

feat(error): handle failed saveLocation #1684

Merged
merged 1 commit into from
Oct 21, 2024
Merged

Conversation

adrianflatner
Copy link
Collaborator

For å try/catche actions som utføres på serveren så må vi bruke handleSubmit istedenfor ren tradisjonell form-action. Det viser også dokumentasjonen til next.

Dette er en quick fix for å vise en annen toast dersom saveLocation failer. Vi burde gå opp sammen hvordan vi generelt bør håndtere error fra server i frontend.

@adrianflatner adrianflatner merged commit b68a600 into master Oct 21, 2024
3 checks passed
@adrianflatner adrianflatner deleted the saveLocation-error branch October 21, 2024 09:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants