Skip to content

Commit f1c3891

Browse files
committed
Decrease splash screen timeout delay.
1 parent a76545a commit f1c3891

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

context/AppContextProvider.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ const AppContextProvider = ({ children }: AppContextProviderProps) => {
6868
logger.info('User authenticated successfully.');
6969
setTimeout(() => {
7070
setIsSigningInUser(false); // hide the splash screen after the delay
71-
}, 5000);
71+
}, 2500);
7272
} else if (res.status === 500) {
7373
setCurrentUser(null);
7474
logger.error('User authentication failed.');
@@ -94,7 +94,7 @@ const AppContextProvider = ({ children }: AppContextProviderProps) => {
9494
setCurrentUser(res.data);
9595
setTimeout(() => {
9696
setIsSigningInUser(false); // hide the splash screen after the delay
97-
}, 5000);
97+
}, 2500);
9898
} else {
9999
setCurrentUser(null);
100100
logger.warn('Auto-login failed.');

0 commit comments

Comments
 (0)