From 11ff3b015c8e41ff3e8e82469172ec64a2129288 Mon Sep 17 00:00:00 2001 From: elcharitas Date: Fri, 19 Apr 2024 11:58:00 +0100 Subject: [PATCH] remove comment --- packages/frontend/src/api/hooks/useHistory.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/packages/frontend/src/api/hooks/useHistory.ts b/packages/frontend/src/api/hooks/useHistory.ts index 6beeeef1..d2c0ca52 100644 --- a/packages/frontend/src/api/hooks/useHistory.ts +++ b/packages/frontend/src/api/hooks/useHistory.ts @@ -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();