From 9b8a79c54fe35e14e1f657b34680b575757e2a05 Mon Sep 17 00:00:00 2001 From: Arnaud AMBROSELLI Date: Fri, 15 Sep 2023 12:14:11 +0200 Subject: [PATCH] fix: MANO-PN --- dashboard/src/app.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dashboard/src/app.js b/dashboard/src/app.js index eea4db53a..3d3de9804 100644 --- a/dashboard/src/app.js +++ b/dashboard/src/app.js @@ -89,6 +89,8 @@ if (ENV === 'production') { const App = ({ resetRecoil }) => { const authToken = useRecoilValue(authTokenState); + const user = useRecoilValue(userState); + const recoilResetKey = useRecoilValue(recoilResetKeyState); useEffect(() => { if (!!recoilResetKey) { @@ -140,7 +142,7 @@ const App = ({ resetRecoil }) => { - + {!!user && } );