Prettier format pending files

This commit is contained in:
Builder.io 2025-11-10 03:18:01 +00:00
parent a6d0ae6e41
commit 01c9e0212c

View file

@ -321,7 +321,7 @@ export const AuthProvider: React.FC<{ children: React.ReactNode }> = ({
// Fetch user profile with a 3-second timeout to prevent hanging
const profilePromise = aethexUserService.getCurrentUser();
const timeoutPromise = new Promise<null>((resolve) =>
setTimeout(() => resolve(null), 3000)
setTimeout(() => resolve(null), 3000),
);
const userProfile = await Promise.race([profilePromise, timeoutPromise]);