Skip to content

Commit

Permalink
feat: add inicial state to autofire email body
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelzinh3 committed Jun 26, 2024
1 parent 5f0007b commit eb25824
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const { required, composeValidators, isEmail } = Validators;
const AutofireForm = ({ widget, updateCache }: Props): React.ReactElement => {
const { t } = useTranslation("widgetActions");

const [editorData, setEditorData] = useState(t("settings.autofire.placeholder.emailBody"));
const [editorData, setEditorData] = useState(widget.settings.email_body);

return (
<Styles>
Expand Down

0 comments on commit eb25824

Please sign in to comment.