diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-05-29 04:05:11 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-05-29 04:05:11 +0200 |
| commit | 953027ccdfb34c83a6d301401ccb47ec43b86825 (patch) | |
| tree | 4d8adef283de22e7c41ec3abe5805d0d06130ce8 /app/client/dashboard/gallery.component.js | |
| parent | 59d22800576541b46a3004086835f8cc304927f5 (diff) | |
file list
Diffstat (limited to 'app/client/dashboard/gallery.component.js')
| -rw-r--r-- | app/client/dashboard/gallery.component.js | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/app/client/dashboard/gallery.component.js b/app/client/dashboard/gallery.component.js deleted file mode 100644 index 8db7032..0000000 --- a/app/client/dashboard/gallery.component.js +++ /dev/null @@ -1,32 +0,0 @@ -import { h, Component } from 'preact' -import { bindActionCreators } from 'redux' -import { connect } from 'react-redux' - -class Gallery extends Component { - constructor(props){ - super() - } - render(){ - const { title, images } = this.props - const imageList = images.map(image => { - return ( - <div> - <img src={image.url} /> - </div> - ) - }) - return ( - <div class='gallery'> - {imageList} - </div> - ) - } -} -const mapStateToProps = state => ({ -}) - -const mapDispatchToProps = (dispatch, ownProps) => ({ - // actions: bindActionCreators(liveActions, dispatch) -}) - -export default connect(mapStateToProps, mapDispatchToProps)(Gallery) |
