Skip to content

Commit

Permalink
fix: clear modal after CSS templates is added
Browse files Browse the repository at this point in the history
  • Loading branch information
SBIN2010 committed Oct 22, 2024
1 parent 19151d1 commit 35aaeb6
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,10 @@ const CssTemplateModal: FunctionComponent<CssTemplateModalProps> = ({
if (onCssTemplateAdd) {
onCssTemplateAdd();
}

setCurrentCssTemplate({
template_name: '',
css: '',
});
hide();
});
}
Expand Down

0 comments on commit 35aaeb6

Please sign in to comment.