From 3452454f11cfb09b13809aa435de9741bc03580a Mon Sep 17 00:00:00 2001 From: ioedeveloper Date: Wed, 10 Nov 2021 15:43:04 +0100 Subject: [PATCH] Expand file path for both browser and localhost --- libs/remix-ui/workspace/src/lib/reducers/workspace.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/remix-ui/workspace/src/lib/reducers/workspace.ts b/libs/remix-ui/workspace/src/lib/reducers/workspace.ts index 3839d89dbc..152b283fa9 100644 --- a/libs/remix-ui/workspace/src/lib/reducers/workspace.ts +++ b/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 } } }