Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

Commit

Permalink
Fikser typefeil oppstått i onClick
Browse files Browse the repository at this point in the history
  • Loading branch information
terjeofnorway committed Dec 18, 2023
1 parent 9b3f015 commit dccd602
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/komponenter/header/logoutWarning/LogoutWarning.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export const LogoutWarning = () => {
}
}, [isTokenExpiring, isSessionExpiring]);

const onCloseHandler = (e: SyntheticEvent<HTMLDialogElement, Event>) => {
const onCloseHandler = (e: SyntheticEvent<HTMLElement, Event>) => {
e.preventDefault();
setIsOpen(false);
};
Expand Down

0 comments on commit dccd602

Please sign in to comment.