Skip to content
This repository has been archived by the owner on Oct 24, 2023. It is now read-only.

Commit

Permalink
Fikset warning på manglende dependency i useEffect.
Browse files Browse the repository at this point in the history
Den vil aldri endre seg mens applikasjonen kjører.
  • Loading branch information
sstensby committed Aug 14, 2023
1 parent 98836ae commit 964bbee
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ export const Sammenligningspaneler: FunctionComponent<Props> = ({
}
}, 5000);
return () => clearTimeout(timer);
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [orgnr]);

if (
Expand Down

0 comments on commit 964bbee

Please sign in to comment.