Search delay

This commit is contained in:
2026-04-04 22:23:34 +02:00
parent bd4897e3ff
commit 67d8b9e365
+4 -1
View File
@@ -54,7 +54,10 @@ const ModsSection: React.FC<ModsSectionProps> = ({ version }) => {
}
}
};
loadMods();
const id = setTimeout(loadMods, 800);
return () => clearTimeout(id);
}, [activeTab, version.id, searchQuery]);
const handleToggleMod = async (modId: string) => {