diff options
Diffstat (limited to 'src/contexts')
| -rw-r--r-- | src/contexts/AuthContext.tsx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/contexts/AuthContext.tsx b/src/contexts/AuthContext.tsx index d2fd7a9..2d0a725 100644 --- a/src/contexts/AuthContext.tsx +++ b/src/contexts/AuthContext.tsx @@ -75,6 +75,7 @@ export function AuthProvider({ children }: { children: React.ReactNode }) { async function register(data: RegisterPayload) { const res = await apiRegister(data); + console.log('Register response:', res); await SecureStore.setItemAsync('yaba_token', res.token); await SecureStore.setItemAsync('yaba_user', JSON.stringify(res.user)); setApiToken(res.token); |