Front: Fix API calls with JWT Token

This commit is contained in:
Arthi-chaud
2022-11-13 15:48:52 +00:00
parent 4ecd556918
commit 889d07cfe5
22 changed files with 368 additions and 248 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ export const publicRoutes = <React.Fragment>
</React.Fragment>;
export const Router = () => {
const isAuthentified = useSelector((state) => state.user.token !== undefined)
const isAuthentified = useSelector((state) => state.user.accessToken !== undefined)
return (
<NavigationContainer>
<Stack.Navigator>