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 && } );