From 2e7aac793ace0e938e45cb54ff601afa5d872214 Mon Sep 17 00:00:00 2001
From: Eugen Rochko <eugen@zeonfederated.com>
Date: Tue, 13 Sep 2016 02:24:40 +0200
Subject: Adding sense of self to the UI, cleaning up routing, adding third
 (detail) column

---
 .../javascripts/components/containers/navigation_container.jsx    | 8 ++++++++
 1 file changed, 8 insertions(+)
 create mode 100644 app/assets/javascripts/components/containers/navigation_container.jsx

(limited to 'app/assets/javascripts/components/containers/navigation_container.jsx')

diff --git a/app/assets/javascripts/components/containers/navigation_container.jsx b/app/assets/javascripts/components/containers/navigation_container.jsx
new file mode 100644
index 000000000..4aeea4c37
--- /dev/null
+++ b/app/assets/javascripts/components/containers/navigation_container.jsx
@@ -0,0 +1,8 @@
+import { connect }   from 'react-redux';
+import NavigationBar from '../components/navigation_bar';
+
+const mapStateToProps = (state, props) => ({
+  account: state.getIn(['timelines', 'accounts', state.getIn(['timelines', 'me'])])
+});
+
+export default connect(mapStateToProps)(NavigationBar);
-- 
cgit 

