File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/node_modules/overmind-devtools-client/src/overmind Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -201,15 +201,15 @@ export const setActionQueryPayload: Action<string> = (
201201}
202202
203203export const setState : Action < string [ ] > = ( { state } , path ) => {
204- state . currentApp . selectedStatePath = path . join ( '.' )
204+ state . currentApp . selectedStatePath = path . join ( state . currentApp . delimiter )
205205}
206206
207207export const undoSettingState : Action = ( { state } ) => {
208208 state . currentApp . selectedStatePath = null
209209}
210210
211211export const submitState : Action < string > = ( { state, effects } , newState ) => {
212- const path = state . currentApp . selectedStatePath . split ( '.' )
212+ const path = state . currentApp . selectedStatePath . split ( state . currentApp . delimiter )
213213
214214 effects . connector . sendMessage ( state . currentApp . name , 'mutation' , {
215215 path,
You can’t perform that action at this time.
0 commit comments