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 2018-02-22 21:01:01 +00:00
parent 71f7df252a
commit 99ccfaf441
1 changed files with 1 additions and 1 deletions

View File

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