auto delete theme duplicate

This commit is contained in:
SethBurkart123
2024-04-22 11:35:20 +10:00
parent 8cd73977bb
commit 3177e4bda2
6 changed files with 41 additions and 8 deletions
+1 -1
View File
@@ -96,7 +96,7 @@ export const deleteTheme = async (themeID: string) => {
});
}
export const sendThemeUpdate = (updatedTheme: CustomTheme | DownloadedTheme, saveTheme?: boolean, updateImages?: boolean) => {
export const sendThemeUpdate = async (updatedTheme: CustomTheme | DownloadedTheme, saveTheme?: boolean, updateImages?: boolean) => {
saveTheme = saveTheme || false;
const imageDataPromises = updatedTheme.CustomImages.map(async (image) => {