Skip to content

Commit

Permalink
Ikke null ut bekreftelsemodal
Browse files Browse the repository at this point in the history
"open"-prop på modalen skal styre om
modalen er åpen eller ikke
  • Loading branch information
Oddsor committed Nov 7, 2024
1 parent f4df779 commit 47bad4d
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/komponenter/modal/BekreftelseModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,6 @@ const BekreftelseModal: React.FunctionComponent<Props> = (props) => {
}
};

// Ønsker ikke at modaler skal rendres med evt nettverkskall med mindre de blir åpnet
if (!props.modalIsOpen) {
return null;
}

return (
<div className={cls.className}>
<Modal
Expand Down

0 comments on commit 47bad4d

Please sign in to comment.