Think it might be ready to deploy. I'm sure there are a lot of bugs, but I at least am no longe finding them

This commit is contained in:
2025-06-16 05:33:57 -05:00
parent bc915275cf
commit a28af1f629
5 changed files with 45 additions and 14 deletions

View File

@ -10,6 +10,7 @@ import React, {
} from 'react';
import {
getProfile,
getProfileWithAvatar,
getUser,
updateProfile as updateProfileAction,
} from '@/lib/hooks';
@ -50,7 +51,7 @@ export const AuthProvider = ({ children }: { children: ReactNode }) => {
}
const userResponse = await getUser();
const profileResponse = await getProfile();
const profileResponse = await getProfileWithAvatar();
if (!userResponse.success || !profileResponse.success) {
setUser(null);