Skip to content

Commit

Permalink
remove comment
Browse files Browse the repository at this point in the history
  • Loading branch information
elcharitas committed Apr 19, 2024
1 parent 205d838 commit 11ff3b0
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions packages/frontend/src/api/hooks/useHistory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@ export const useHistory = () => {
const history = useRRDHistory();
const { resetModalHistory } = useControlledModal();

/**
* we shouldn't need this ideally, but adding a listener
* ensures route navigation to tabs route paths which is great
*/
history.listen(() => {
// reset modal on route change
resetModalHistory();
Expand Down

0 comments on commit 11ff3b0

Please sign in to comment.