Fix conversation messages
Change-Id: I999839176bf523f1968dada3e3ebd8703f08656f
diff --git a/client/src/App.tsx b/client/src/App.tsx
index 86c226f..69dd466 100644
--- a/client/src/App.tsx
+++ b/client/src/App.tsx
@@ -20,6 +20,7 @@
import { json, LoaderFunctionArgs, Outlet, redirect } from 'react-router-dom';
import WelcomeAnimation from './components/welcome';
+import { getAccessToken } from './utils/auth';
import { apiUrl } from './utils/constants';
export async function checkSetupStatus(): Promise<boolean> {
@@ -38,7 +39,7 @@
}
const App = () => {
- const [displayWelcome, setDisplayWelcome] = useState<boolean>(true);
+ const [displayWelcome, setDisplayWelcome] = useState<boolean>(getAccessToken() === undefined);
console.log('App render');