Remove unused prop 'etype' provided to CollectionItemLink in CollectionView
authorFrank Bessou <frank.bessou@logilab.fr>
Fri, 28 Apr 2017 15:50:39 +0200
changeset 158 293122812d40
parent 157 7e86687bd6f7
child 159 7cea474fc422
Remove unused prop 'etype' provided to CollectionItemLink in CollectionView
src/components/BaseViews.js
--- a/src/components/BaseViews.js	Fri Apr 28 15:47:26 2017 +0200
+++ b/src/components/BaseViews.js	Fri Apr 28 15:50:39 2017 +0200
@@ -27,7 +27,7 @@
                 props.entities.data.mapItems(
                     entity => (
                         <li className="list-group-item" key={entity.getLink('item').href}>
-                            <CollectionItemLink item={entity} etype={props.entities.etype} />
+                            <CollectionItemLink item={entity} />
                         </li>
                         )
                 )