summaryrefslogtreecommitdiff
path: root/app/client/dashboard/gallery.component.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/client/dashboard/gallery.component.js')
-rw-r--r--app/client/dashboard/gallery.component.js32
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)