remove redundant methods

This commit is contained in:
Vendicated 2025-06-14 18:55:12 +02:00
parent 78d3330ccf
commit 3a1e17e04d
No known key found for this signature in database
GPG key ID: D66986BAF75ECF18
6 changed files with 14 additions and 20 deletions

View file

@ -163,7 +163,6 @@ function ThemesTab() {
const [currentTab, setCurrentTab] = useState(ThemeTab.LOCAL);
const [themeText, setThemeText] = useState(settings.themeLinks.join("\n"));
const [userThemes, setUserThemes] = useState<UserThemeHeader[] | null>(null);
const [themeDir, , themeDirPending] = useAwaiter(VencordNative.themes.getThemesDir);
useEffect(() => {
refreshLocalThemes();
@ -252,7 +251,6 @@ function ThemesTab() {
<QuickAction
text="Open Themes Folder"
action={() => VencordNative.themes.openFolder()}
disabled={themeDirPending}
Icon={FolderIcon}
/>
)}