From 9ec50e677a078e71b383faf57d6d28a11b4f53bd Mon Sep 17 00:00:00 2001 From: thororen1234 <78185467+thororen1234@users.noreply.github.com> Date: Mon, 19 May 2025 08:22:14 -0400 Subject: [PATCH] Fix ThemeLibrary --- src/equicordplugins/themeLibrary/components/ThemeTab.tsx | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/equicordplugins/themeLibrary/components/ThemeTab.tsx b/src/equicordplugins/themeLibrary/components/ThemeTab.tsx index 195250f9..9fb7fd0d 100644 --- a/src/equicordplugins/themeLibrary/components/ThemeTab.tsx +++ b/src/equicordplugins/themeLibrary/components/ThemeTab.tsx @@ -121,11 +121,8 @@ function ThemeTab() { }, []); useEffect(() => { - const newLinks = Vencord.Settings.themeLinks; - if (JSON.stringify(themeLinks) !== JSON.stringify(newLinks)) { - setThemeLinks(newLinks); - } - }, [Vencord.Settings.themeLinks]); + setThemeLinks(Vencord.Settings.themeLinks); + }, []); useEffect(() => { // likes only update after 12_000 due to cache