Przeglądaj źródła

loader 2 sec

master
azri 1 rok temu
rodzic
commit
07cee68031
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1
    1
      src/components/Loader/Loader.jsx

+ 1
- 1
src/components/Loader/Loader.jsx Wyświetl plik

14
     if (products.length > 0) {
14
     if (products.length > 0) {
15
       setTimeout(() => {
15
       setTimeout(() => {
16
         setDisplay(false)
16
         setDisplay(false)
17
-      }, 1000);
17
+      }, 2000);
18
     }
18
     }
19
 
19
 
20
   }, [products])
20
   }, [products])

Ładowanie…
Anuluj
Zapisz