add eror handler, update snapshots

This commit is contained in:
kbariotis
2021-03-20 16:22:57 +02:00
parent 90d68b3e0b
commit 92ac11c49d
5 changed files with 18 additions and 74 deletions
+8 -1
View File
@@ -248,13 +248,20 @@ export const actionToggleAutoSave = register({
};
},
PanelComponent: ({ appState, updateData }) => (
<label>
<label style={{ display: "flex" }}>
<input
type="checkbox"
checked={appState.autoSave}
onChange={(event) => updateData(event.target.checked)}
/>{" "}
{t("labels.toggleAutoSave")}
<Tooltip
label={t("labels.toggleAutoSave_details")}
position="above"
long={true}
>
<div className="TooltipIcon">{questionCircle}</div>
</Tooltip>
</label>
),
});