Remove unused 'entity' attribute of ResourceDeletionView in Entity
authorFrank Bessou <frank.bessou@logilab.fr>
Tue, 02 May 2017 15:31:47 +0200
changeset 167 5837c0eda60c
parent 166 81fb40f81007
child 168 10d89202f063
Remove unused 'entity' attribute of ResourceDeletionView in Entity
src/components/Entity.js
--- a/src/components/Entity.js	Tue May 02 15:29:58 2017 +0200
+++ b/src/components/Entity.js	Tue May 02 15:31:47 2017 +0200
@@ -241,7 +241,6 @@
         } else if (this.props.match.params.view === 'delete') {
             return (
                 <ResourceDeletionView
-                    entity={this.state.entity}
                     onConfirm={this.deleteEntity}
                     onCancel={this.navigateToSelf}
                 />