From e19ba58d41a6f76d26e0d813b7fd53543d92b719 Mon Sep 17 00:00:00 2001 From: Miodec Date: Mon, 19 Jun 2023 20:59:21 +0200 Subject: [PATCH] added comment --- frontend/src/ts/controllers/route-controller.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/src/ts/controllers/route-controller.ts b/frontend/src/ts/controllers/route-controller.ts index 0147dab05..94edddcac 100644 --- a/frontend/src/ts/controllers/route-controller.ts +++ b/frontend/src/ts/controllers/route-controller.ts @@ -6,13 +6,15 @@ import * as PageAccount from "../pages/account"; import * as PageLogin from "../pages/login"; import * as Page404 from "../pages/404"; import * as PageProfile from "../pages/profile"; -import * as PageProfileSearch from "../pages/profile-search"; import * as Leaderboards from "../elements/leaderboards"; import * as TestUI from "../test/test-ui"; import * as PageTransition from "../states/page-transition"; import * as NavigateEvent from "../observables/navigate-event"; import { Auth } from "../firebase"; +//this is the only one that is using nav (through navigation event) - maybe consider removing this circular somehow to get rid of the nav event +import * as PageProfileSearch from "../pages/profile-search"; + //source: https://www.youtube.com/watch?v=OstALBk-jTc // https://www.youtube.com/watch?v=OstALBk-jTc