fix theme live preview

This commit is contained in:
SethBurkart123
2024-04-03 17:23:43 +11:00
parent c4be377b51
commit 9c4a499f63
3 changed files with 42 additions and 29 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ function ThemeCreator({ themeID }: { themeID?: string }) {
CustomImages: [...theme.CustomImages, { id: imageId, blob: imageBlob, variableName }],
};
setTheme(updatedTheme);
sendThemeUpdate(updatedTheme);
sendThemeUpdate(updatedTheme, false, true);
};
reader.readAsDataURL(file);
}