Skip to content

Commit

Permalink
fix: go back to view page on note delete
Browse files Browse the repository at this point in the history
  • Loading branch information
harbassan committed Oct 21, 2024
1 parent 5a343d0 commit 2496992
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ export default function EditPage({ role, noteId, group, goBack, handleClose }) {
groupId: group._id,
email: user.email,
});
handleClose();
goBack();
} catch (e) {
console.log(e);
}
Expand Down

0 comments on commit 2496992

Please sign in to comment.