"Speed up" loading

This commit is contained in:
Pas 2025-01-06 14:01:55 -07:00
parent 2716fa6d21
commit fea00bf37e

View file

@ -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, 2000);
}); // Simulate 2s loading time
setTimeout(resolve, 1000);
}); // Simulate 1s loading time
setLoading(false); // After loading, set loading to false
};