From 2c6c2adb74f91816e2877d882890755cd695f855 Mon Sep 17 00:00:00 2001 From: unclekingpin Date: Thu, 20 Jul 2023 15:22:16 -0700 Subject: [PATCH] fix lint --- src/App/withProtectedRoutes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App/withProtectedRoutes.js b/src/App/withProtectedRoutes.js index 5532a08aa..ac9e8737b 100644 --- a/src/App/withProtectedRoutes.js +++ b/src/App/withProtectedRoutes.js @@ -13,7 +13,7 @@ const withProtectedRoutes = (Component) => { window.location = '#/intro'; } previousProfileRef.current = profile; - }, [profile]) + }, [profile]); const onRouteChange = React.useCallback((routeConfig) => { if (profile.auth !== null && routeConfig.component === Intro) { window.location.replace('#/');