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 (
|
||||
<Box flex={1} bg="$gray700">
|
||||
<NavigationContainer theme={theme}>
|
||||
<AuthRoutes />
|
||||
{user.id ? <AppRoutes /> : <AuthRoutes />}
|
||||
</NavigationContainer>
|
||||
</Box>
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in a new issue