Expand file path for both browser and localhost

pull/1747/head
ioedeveloper 3 years ago
parent db7b4e381e
commit 3452454f11
  1. 4
      libs/remix-ui/workspace/src/lib/reducers/workspace.ts

@ -536,11 +536,11 @@ export const browserReducer = (state = browserInitialState, action: Action) => {
...state,
browser: {
...state.browser,
expandPath: state.mode === 'browser' ? payload : state.browser.expandPath
expandPath: payload
},
localhost: {
...state.localhost,
expandPath: state.mode === 'localhost' ? payload : state.localhost.expandPath
expandPath: payload
}
}
}

Loading…
Cancel
Save