blob: f0dbe7504efa3e01b1ad4c6873d82fdeca35133b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
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 (
<div className="sidebar">
</div>
)
}
return (
<div className="sidebar">
</div>
)
}
}
const mapStateToProps = state => ({
hash: state.metadata.hash,
})
export default connect(mapStateToProps)(Sidebar)
|