Prettier format pending files
This commit is contained in:
parent
a6d0ae6e41
commit
01c9e0212c
1 changed files with 1 additions and 1 deletions
|
|
@ -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]);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue