Skip to content

Commit

Permalink
Fjern bruk av deprecated event-kode
Browse files Browse the repository at this point in the history
  • Loading branch information
charliemidtlyng committed Dec 18, 2024
1 parent a28d857 commit ccfb979
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/frontend/Felles/Modal/UlagretDataModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ export const UlagretDataModal: FC = () => {
(event) => {
if (ulagretData) {
event.preventDefault();
event.returnValue = 'Changes you made may not be saved.';
}
},
[ulagretData]
Expand Down

0 comments on commit ccfb979

Please sign in to comment.