message: Shortened filter code
diff: @@ -14,10 +14,8 @@ export default () => (
  nextState.key !== 'photo' ? {translate: 5, scale: 0.9, opacity: 0} : {translate: 0, scale: 1, opacity: 0}
  )}
  sharedElementMotion={({sharedElements,...props}) => {
  - var filteredSharedElements = sharedElements.filter(({oldElement, mountedElement}) => (
  - oldElement.data.enable || mountedElement.data.enable
  - ));
  - return <PhotoZoom {...props} sharedElements={filteredSharedElements} />;
  + sharedElements = sharedElements.filter(share => share.oldElement.data.enable || share.mountedElement.data.enable);
  + return <PhotoZoom {...props} sharedElements={sharedElements} />;
  }}>
  {({translate, scale, opacity}, scene, key, active) => (
  <div key={key}
  