Fix opening devtools for loading views

This commit is contained in:
Max Goodhart
2020-06-21 22:34:36 -07:00
parent 6e5b15feea
commit 773eb1710a

View File

@@ -33,6 +33,9 @@ const viewStateMachine = Machine(
cond: 'contentUnchanged',
},
RELOAD: '.loading',
DEVTOOLS: {
actions: 'openDevTools',
},
},
states: {
loading: {
@@ -81,9 +84,6 @@ const viewStateMachine = Machine(
},
MUTE: '.muted',
UNMUTE: '.listening',
DEVTOOLS: {
actions: 'openDevTools',
},
},
states: {
muted: {