Item creation: fix the cancel button.

It wasn't working because the callback was not connected, but the
onDelete callback was connected instead (which shouldn't have been).
master
Tom Hacohen 7 years ago
parent 71f7df252a
commit 99ccfaf441

@ -115,7 +115,7 @@ const CollectionRoutes = withRouter(
<ComponentEdit <ComponentEdit
collections={props.collections} collections={props.collections}
onSave={props.onItemSave} onSave={props.onItemSave}
onDelete={props.onItemDelete} onCancel={props.onItemCancel}
/> />
</Container> </Container>
)} )}

Loading…
Cancel
Save