Skip to content

Commit

Permalink
🐛 fix the app randomly navigating back (closing)
Browse files Browse the repository at this point in the history
Closes #2596
  • Loading branch information
MatissJanis committed May 17, 2024
1 parent c311d4a commit 0fc9430
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 0fc9430

Please sign in to comment.