Skip to content

Commit

Permalink
Move tip to correct position in auth flow
Browse files Browse the repository at this point in the history
  • Loading branch information
satya164 committed Nov 22, 2024
1 parent 5a63b03 commit 46100a5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions versioned_docs/version-7.x/auth-flow.md
Original file line number Diff line number Diff line change
Expand Up @@ -403,15 +403,15 @@ state.userToken == null ? (
);
```

</TabItem>
</Tabs>

:::tip

If you have both your login-related screens and rest of the screens in two different Stack navigators, we recommend to use a single Stack navigator and place the conditional inside instead of using 2 different navigators. This makes it possible to have a proper transition animation during login/logout.

:::

</TabItem>
</Tabs>

## Implement the logic for restoring the token

:::note
Expand Down

0 comments on commit 46100a5

Please sign in to comment.