diff options
Diffstat (limited to 'client/common/sidebar.component.js')
| -rw-r--r-- | client/common/sidebar.component.js | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/client/common/sidebar.component.js b/client/common/sidebar.component.js new file mode 100644 index 00000000..afbf8c8c --- /dev/null +++ b/client/common/sidebar.component.js @@ -0,0 +1,18 @@ +import React, { Component } from 'react' +import { connect } from 'react-redux' + +class Sidebar extends Component { + render() { + return ( + <div className="sidebar"> + </div> + ) + // <NavLink to={'/metadata/' + hash + '/summary/'}>Summary</NavLink> + } +} + +const mapStateToProps = state => ({ + hash: state.metadata.hash, +}) + +export default connect(mapStateToProps)(Sidebar) |
