feat: change route when user is logged in
This commit is contained in:
parent
fe620c6336
commit
4e80397154
1 changed files with 1 additions and 1 deletions
|
|
@ -18,7 +18,7 @@ export function Routes() {
|
||||||
return (
|
return (
|
||||||
<Box flex={1} bg="$gray700">
|
<Box flex={1} bg="$gray700">
|
||||||
<NavigationContainer theme={theme}>
|
<NavigationContainer theme={theme}>
|
||||||
<AuthRoutes />
|
{user.id ? <AppRoutes /> : <AuthRoutes />}
|
||||||
</NavigationContainer>
|
</NavigationContainer>
|
||||||
</Box>
|
</Box>
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue