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', cond: 'contentUnchanged',
}, },
RELOAD: '.loading', RELOAD: '.loading',
DEVTOOLS: {
actions: 'openDevTools',
},
}, },
states: { states: {
loading: { loading: {
@@ -81,9 +84,6 @@ const viewStateMachine = Machine(
}, },
MUTE: '.muted', MUTE: '.muted',
UNMUTE: '.listening', UNMUTE: '.listening',
DEVTOOLS: {
actions: 'openDevTools',
},
}, },
states: { states: {
muted: { muted: {