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.
This commit is contained in:
parent
af6941df94
commit
05fc720669
1 changed files with 5 additions and 0 deletions
|
|
@ -93,6 +93,7 @@ class App extends React.Component {
|
|||
className="left inline fill-height"
|
||||
navigation={navigation}
|
||||
{...navigationActions}
|
||||
{...contextMenuActions}
|
||||
/>
|
||||
|
||||
</div>
|
||||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue