File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
packages/node_modules/overmind-devtools/src/components/State Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -40,13 +40,13 @@ const ComputedWrapper = ({ children }) => (
4040const State : React . SFC < Connect > = ( { app } ) => (
4141 < Wrapper >
4242 < Inspector
43- value = { app . state . currentApp . state }
43+ value = { app . state . currentApp . state || { } }
4444 expandedPaths = { app . state . expandedStatePaths }
4545 onToggleExpand = { app . actions . toggleExpandState }
4646 renderPaths = {
4747 Object . assign (
4848 { } ,
49- Object . keys ( app . state . currentApp . derived ) . reduce (
49+ Object . keys ( app . state . currentApp . derived || { } ) . reduce (
5050 ( aggr , key ) =>
5151 Object . assign ( aggr , {
5252 [ key ] : ( children ) => (
@@ -55,7 +55,7 @@ const State: React.SFC<Connect> = ({ app }) => (
5555 } ) ,
5656 { }
5757 ) ,
58- Object . keys ( app . state . currentApp . computed ) . reduce (
58+ Object . keys ( app . state . currentApp . computed || { } ) . reduce (
5959 ( aggr , key ) =>
6060 Object . assign ( aggr , {
6161 [ key ] : ( children ) => (
You can’t perform that action at this time.
0 commit comments