mirror of
https://github.com/p-stream/p-stream.git
synced 2026-03-23 14:07:40 +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 () => {
|
||||
// Simulate a loading time with setTimeout or fetch data here
|
||||
await new Promise((resolve) => {
|
||||
setTimeout(resolve, 1000);
|
||||
}); // Simulate 1s loading time
|
||||
setTimeout(resolve, 2000);
|
||||
}); // Simulate 2s loading time
|
||||
setLoading(false); // After loading, set loading to false
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue