Major refactoring: navigation does not break anymore. the user can now navigate between the tabs without loosing context
This commit is contained in:
parent
457b098883
commit
1beee68bff
23 changed files with 137 additions and 80 deletions
|
|
@ -7,7 +7,7 @@ export default function index() {
|
|||
const {authState} = useAuth()
|
||||
|
||||
return (
|
||||
<Redirect href={authState?.authenticated ? "/home/" : "/login"}></Redirect>
|
||||
<Redirect href={authState?.authenticated ? "/(tabs)/(home)" : "/login"}></Redirect>
|
||||
|
||||
)
|
||||
}
|
||||
Reference in a new issue