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

Fjerne avhengigheten til react router prompt, og forenkle bruken til … #2969

Merged
merged 3 commits into from
Dec 18, 2024

Conversation

charliemidtlyng
Copy link
Contributor

…vårt behov

Hvorfor er denne endringen nødvendig? ✨

Ønsker å gjøre oss uavhengige fra react-router-prompt-biblioteket pga treghet i oppgraderingsøyemed.

Kan gjøre tilsvarende for familie-klage-frontend og familie-tilbake-frontend også.

(event) => {
if (ulagretData) {
event.preventDefault();
event.returnValue = 'Changes you made may not be saved.';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Brukes dette?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Høyst tvilsomt 😂

@charliemidtlyng charliemidtlyng merged commit 78c6bcb into main Dec 18, 2024
3 checks passed
@charliemidtlyng charliemidtlyng deleted the fjern-react-router-prompt branch December 18, 2024 11:44
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.

2 participants