Skip to content

Commit c894cd6

Browse files
committed
fix typo
1 parent 732b175 commit c894cd6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

website/versioned_docs/version-5.x/auth-flow.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ export default function App({ navigation }) {
6666
return {
6767
...prevState,
6868
isSignout: true,
69-
userToken: undefined,
69+
userToken: null,
7070
};
7171
}
7272
},
@@ -150,7 +150,7 @@ if (state.isLoading) {
150150
return (
151151
<AuthContext.Provider value={authContext}>
152152
<Stack.Navigator>
153-
{state.userToken === null ? (
153+
{state.userToken == null ? (
154154
// No token found, user isn't signed in
155155
<Stack.Screen
156156
name="SignIn"

0 commit comments

Comments
 (0)