Order zwracał 403, bo nie było headerów
Zdjęcia nie były centerowane względem szerokości
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import React, {useEffect, useState} from 'react';
|
||||
import {StyleSheet, ActivityIndicator, SafeAreaView, View, Platform} from 'react-native';
|
||||
import {useAuthStore} from '@/store/authStore';
|
||||
import {useRouter, Link} from 'expo-router';
|
||||
import {useRouter} from 'expo-router';
|
||||
|
||||
import {Box} from "@/components/ui/box"
|
||||
import {Button, ButtonText, ButtonIcon} from "@/components/ui/button"
|
||||
@@ -73,6 +73,7 @@ export default function Login() {
|
||||
user = await getUserInfo(response.authentication.accessToken)
|
||||
await signInWithGoogle(response.authentication.accessToken);
|
||||
alert(`Zalogowano jako ${user.email}`);
|
||||
router.replace('/');
|
||||
}
|
||||
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user