mirror of
https://github.com/Equicord/Equicord.git
synced 2025-05-11 18:05:37 +02:00
Fix ThemeLibrary
This commit is contained in:
parent
e6dee2f103
commit
14964e94f6
1 changed files with 4 additions and 1 deletions
|
@ -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(() => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue