Order zwracał 403, bo nie było headerów

Zdjęcia nie były centerowane względem szerokości
This commit is contained in:
2025-06-10 11:24:08 +02:00
parent c0b8800f83
commit 8f72f28566
5 changed files with 36 additions and 32 deletions

View File

@@ -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 {