From 05fc720669f748b8d4cb3d7a95b6df34d662a2b9 Mon Sep 17 00:00:00 2001 From: Joey Payne Date: Fri, 11 Mar 2016 15:15:17 -0700 Subject: [PATCH] Give entry selector context menu actions and store The store helps to access global state modifications using redux. The context menu actions will be used in the future when right clicking notes. --- app/containers/App.jsx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/containers/App.jsx b/app/containers/App.jsx index 629ee7d..3c6cb1d 100644 --- a/app/containers/App.jsx +++ b/app/containers/App.jsx @@ -93,6 +93,7 @@ class App extends React.Component { className="left inline fill-height" navigation={navigation} {...navigationActions} + {...contextMenuActions} /> @@ -100,6 +101,10 @@ class App extends React.Component { } } +App.contextTypes = { + store: React.PropTypes.object +} + App.propTypes = { contextMenu: React.PropTypes.object.isRequired, contextMenuActions: React.PropTypes.object.isRequired,