mirror of
https://github.com/p-stream/p-stream.git
synced 2026-04-21 06:52:18 +00:00
Revert ""Speed up" loading"
This reverts commit 913dbf98c21ae631e43da0e13a070d0bd375d4a6.
This commit is contained in:
parent
fea00bf37e
commit
ca7b376326
1 changed files with 2 additions and 2 deletions
|
|
@ -19,8 +19,8 @@ export function Discover() {
|
||||||
const simulateLoading = async () => {
|
const simulateLoading = async () => {
|
||||||
// Simulate a loading time with setTimeout or fetch data here
|
// Simulate a loading time with setTimeout or fetch data here
|
||||||
await new Promise((resolve) => {
|
await new Promise((resolve) => {
|
||||||
setTimeout(resolve, 1000);
|
setTimeout(resolve, 2000);
|
||||||
}); // Simulate 1s loading time
|
}); // Simulate 2s loading time
|
||||||
setLoading(false); // After loading, set loading to false
|
setLoading(false); // After loading, set loading to false
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue