Fix ThemeLibrary
Some checks are pending
Test / Test (push) Waiting to run
Release / Build Equicord (push) Waiting to run

This commit is contained in:
thororen1234 2025-05-08 13:26:32 -04:00
parent e6dee2f103
commit 14964e94f6
No known key found for this signature in database

View file

@ -121,7 +121,10 @@ function ThemeTab() {
}, []);
useEffect(() => {
setThemeLinks(Vencord.Settings.themeLinks);
const newLinks = Vencord.Settings.themeLinks;
if (JSON.stringify(themeLinks) !== JSON.stringify(newLinks)) {
setThemeLinks(newLinks);
}
}, [Vencord.Settings.themeLinks]);
useEffect(() => {