diff --git a/libs/remix-ui/workspace/src/lib/reducers/workspace.ts b/libs/remix-ui/workspace/src/lib/reducers/workspace.ts index 152b283fa9..adba7288d6 100644 --- a/libs/remix-ui/workspace/src/lib/reducers/workspace.ts +++ b/libs/remix-ui/workspace/src/lib/reducers/workspace.ts @@ -339,7 +339,8 @@ export const browserReducer = (state = browserInitialState, action: Action) => { ...state, localhost: { ...state.localhost, - sharedFolder: payload + sharedFolder: payload, + files: null } } }