mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-16 18:07:02 -04:00
Fix ThemeLibrary
This commit is contained in:
parent
4fa16ce3b4
commit
9ec50e677a
1 changed files with 2 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue