diff --git a/src/components/ModsSection.tsx b/src/components/ModsSection.tsx index 1431e79..b301a12 100644 --- a/src/components/ModsSection.tsx +++ b/src/components/ModsSection.tsx @@ -48,7 +48,10 @@ const ModsSection: React.FC = ({ version }) => { setMods(m); } else { const m = await discoverMods(searchQuery); - setMods(m); + if (activeTab === "discover") { + // Fix: If discover mods takes too long and the user switches tabs it glitches + setMods(m); + } } }; loadMods();