chore: wip

This commit is contained in:
Lluis Agusti
2025-07-02 15:31:08 +04:00
parent c8cb6771a4
commit 8a8d897e3b

View File

@@ -44,6 +44,10 @@ export function useLoginPage() {
async function handleProviderLogin(provider: LoginProvider) {
setIsGoogleLoading(true);
// Artificially wait 2 seconds
await new Promise((resolve) => setTimeout(resolve, 2000));
try {
const error = await providerLogin(provider);
if (error) throw error;