fix: prompt when leaving page without saving changes on editable tables

This commit is contained in:
Liordino Neto 2020-10-25 13:44:59 -03:00 committed by Josh Harvey
parent d6ee635f22
commit cce8289e22

View file

@ -198,6 +198,7 @@ const ETable = ({
validationSchema={validationSchema}
onSubmit={innerSave}>
<Form>
<PromptWhenDirty />
<ERow
lastOfGroup={isLastOfGroup}
editing={editingId === it.id}