Front: Fix API calls with JWT Token
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user