mirror of
https://github.com/Equicord/Equicord.git
synced 2025-01-31 03:33:36 -05:00
Fix Online Theme Deletion
This commit is contained in:
parent
3496fec74e
commit
3d8c757e75
1 changed files with 4 additions and 1 deletions
|
@ -446,7 +446,10 @@ function ThemesTab() {
|
|||
key={rawLink.fileName}
|
||||
enabled={settings.enabledThemeLinks.includes(rawLink.link)}
|
||||
onChange={enabled => onThemeLinkEnabledChange(rawLink.link, enabled)}
|
||||
onDelete={() => deleteThemeLink(rawLink.link)}
|
||||
onDelete={async () => {
|
||||
onThemeLinkEnabledChange(rawLink.link, false);
|
||||
deleteThemeLink(rawLink.link);
|
||||
}}
|
||||
showDeleteButton
|
||||
theme={rawLink}
|
||||
/>;
|
||||
|
|
Loading…
Reference in a new issue