Skip to content

Commit 06a8c56

Browse files
committed
using context in react spa ex
1 parent 6cdeaf1 commit 06a8c56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/client/react/src/AuthContext.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ interface AuthContextType {
1717
userId?: string
1818
accessToken?: string
1919
authenticating: boolean
20-
login: () => Promise<void>
2120
logout: () => void
21+
login: () => Promise<void>
2222
callback: (code: string, state: string) => Promise<void>
2323
}
2424

0 commit comments

Comments
 (0)