import React, { Component } from 'react'
import { NavLink } from 'react-router-dom'
import { connect } from 'react-redux'
class Sidebar extends Component {
render() {
const { hash } = this.props
if (!hash) {
return (
)
}
return (
Media
Summary
Media Record
Media Info
Sugarcube
Keyframes
Keyframe
Detectors
Places 365
Coco
)
}
}
const mapStateToProps = state => ({
hash: state.metadata.hash,
})
export default connect(mapStateToProps)(Sidebar)