mirror of
https://github.com/pawelmalak/flame.git
synced 2026-03-09 14:03:11 +08:00
Fixed bug where user could create empty app or bookmark which was causing page to go blank
This commit is contained in:
@@ -74,7 +74,7 @@ export const ThemeCreator = ({ modalHandler }: Props): JSX.Element => {
|
||||
if (!themeInEdit) {
|
||||
addTheme(formData);
|
||||
} else {
|
||||
updateTheme(formData);
|
||||
updateTheme(formData, themeInEdit.name);
|
||||
}
|
||||
|
||||
// close modal
|
||||
|
||||
Reference in New Issue
Block a user