Skip to content

Commit

Permalink
Sender avbryt til min side arbeidsgiver (#698)
Browse files Browse the repository at this point in the history
  • Loading branch information
MrFjellstad authored Jan 2, 2024
1 parent f8c89f5 commit d8fa2aa
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/components/gravid/GravidSide.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ const GravidSide = (props: GravidSideProps) => {
};
const handleCancelClicked = (event: React.FormEvent) => {
event.preventDefault();
navigate(-1);
window.location.href = environment.minSideArbeidsgiver;
};

const isCheckboxChecked = (checkbox: Tiltak): boolean => {
Expand Down
2 changes: 1 addition & 1 deletion src/components/gravidkrav/GravidKrav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export const GravidKrav = (props: GravidKravProps) => {

const handleCancelClicked = (event: React.FormEvent) => {
event.preventDefault();
navigate(-1);
window.location.href = environment.minSideArbeidsgiver;
};

const handleCloseServerFeil = () => {
Expand Down
2 changes: 1 addition & 1 deletion src/components/kronisk/KroniskSide.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ const KroniskSide = () => {

const handleCancelClicked = (event: React.FormEvent) => {
event.preventDefault();
navigate(-1);
window.location.href = environment.minSideArbeidsgiver;
};

useEffect(() => {
Expand Down
2 changes: 1 addition & 1 deletion src/components/kroniskkrav/KroniskKrav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export const KroniskKrav = (props: KroniskKravProps) => {

const handleCancelClicked = (event: React.FormEvent) => {
event.preventDefault();
navigate(-1);
window.location.href = environment.minSideArbeidsgiver;
};

const handleDeleteClicked = async (event: React.FormEvent) => {
Expand Down

0 comments on commit d8fa2aa

Please sign in to comment.