Skip to content

Commit

Permalink
🐛 fix the app randomly navigating back (closing) (#2772)
Browse files Browse the repository at this point in the history
  • Loading branch information
MatissJanis authored Jun 27, 2024
1 parent 5951b92 commit 247e3e8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 0 additions & 3 deletions packages/desktop-client/src/hooks/useNavigate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,6 @@ export function useNavigate(): NavigateFunction {
JSON.stringify(previousOriginalState)
) {
navigate(to, optionsWithPrevLocation);
} else {
// `to` is the same as the previous location. Just go back.
navigate(-1);
}
}
},
Expand Down
6 changes: 6 additions & 0 deletions upcoming-release-notes/2772.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
category: Bugfix
authors: [MatissJanis]
---

Fix the app randomly closing

0 comments on commit 247e3e8

Please sign in to comment.