Skip to content

Commit

Permalink
Deaktiver revalidateOnFocus
Browse files Browse the repository at this point in the history
Dette førte til at den nye disable på godkjenn-
knappen flasher om man veksler vekk fra siden.
  • Loading branch information
Oddsor committed Aug 15, 2024
1 parent b735971 commit 50b43db
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/services/use-rest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,6 @@ export const useHentEnhet = (enhetsnummer?: string) => {
...swrConfig,
suspense: false,
shouldRetryOnError: false,
revalidateOnFocus: false,
});
};

0 comments on commit 50b43db

Please sign in to comment.