1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 12:56:41 +07:00

(nextjs) added timeout for loader

This commit is contained in:
Fedor Katurov 2022-01-19 17:31:53 +07:00
parent 41b26e7d69
commit bcaa9fde39
2 changed files with 26 additions and 5 deletions

View file

@ -7,7 +7,7 @@ import styles from './styles.module.scss';
interface LoadingProgressProps {}
const LoadingProgress: VFC<LoadingProgressProps> = () => {
const shown = useSSRLoadingIndicator();
const shown = useSSRLoadingIndicator(300);
return shown ? (
<>