Fix ThemeLibrary

This commit is contained in:
thororen1234 2025-05-19 08:22:14 -04:00
parent 4fa16ce3b4
commit 9ec50e677a
No known key found for this signature in database

View file

@ -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