diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2017-07-21 05:31:27 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2017-07-21 05:31:27 +0200 |
| commit | 007059ed2483009043b5569e4d95049139878798 (patch) | |
| tree | 484398ccda5174b6af55a8ca75510e6e69b4bb1f /client/containers | |
| parent | 55b2b2c464064393f8ce7bd2245bdd89bbffbeec (diff) | |
html..
Diffstat (limited to 'client/containers')
| -rw-r--r-- | client/containers/fileLink.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/client/containers/fileLink.js b/client/containers/fileLink.js index 22834d8..ad82f75 100644 --- a/client/containers/fileLink.js +++ b/client/containers/fileLink.js @@ -12,6 +12,7 @@ const mapStateToProps = (state, ownProps) => ({ const mapDispatchToProps = (dispatch, ownProps) => ({ onClick: () => { + if (! ownProps.file) return switch (ownProps.file.type) { case 'audio': let file = ownProps.file |
