Skip to content

Commit

Permalink
Update react-json-tree
Browse files Browse the repository at this point in the history
  • Loading branch information
gaearon committed Apr 2, 2016
1 parent 00379fa commit e1dc0c6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"redux-devtools": "^3.0.0"
},
"dependencies": {
"react-json-tree": "0.5.5",
"react-json-tree": "^0.6.5",
"react-pure-render": "^1.0.2",
"redux-devtools-themes": "^1.0.0"
}
Expand Down
2 changes: 1 addition & 1 deletion src/LogMonitorEntry.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export default class LogMonitorEntry extends Component {
return (
<JSONTree
theme={this.props.theme}
keyName={'state'}
keyPath={['state']}
data={this.props.select(state)}
previousData={
typeof this.props.previousState !== 'undefined' ?
Expand Down
2 changes: 1 addition & 1 deletion src/LogMonitorEntryAction.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default class LogMonitorAction extends Component {
}}>
{ Object.keys(payload).length > 0 ?
<JSONTree theme={this.props.theme}
keyName={'action'}
keyPath={['action']}
data={payload}
expandRoot={this.props.expandActionRoot} /> : '' }
</div>
Expand Down

0 comments on commit e1dc0c6

Please sign in to comment.