summaryrefslogtreecommitdiff
path: root/client/common/sidebar.component.js
diff options
context:
space:
mode:
authorAdam Harvey <adam@ahprojects.com>2018-12-23 01:37:03 +0100
committerAdam Harvey <adam@ahprojects.com>2018-12-23 01:37:03 +0100
commit4452e02e8b04f3476273574a875bb60cfbb4568b (patch)
tree3ffa44f9621b736250a8b94da14a187dc785c2fe /client/common/sidebar.component.js
parent2a65f7a157bd4bace970cef73529867b0e0a374d (diff)
parent5340bee951c18910fd764241945f1f136b5a22b4 (diff)
.
Diffstat (limited to 'client/common/sidebar.component.js')
-rw-r--r--client/common/sidebar.component.js18
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)