fix reset focus

pull/5370/head
yann300 4 years ago
parent db53c97c0e
commit 09040b5da5
  1. 4
      libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx

@ -29,9 +29,9 @@ export const Workspace = (props: WorkspaceProps) => {
const NO_WORKSPACE = ' - none - ' const NO_WORKSPACE = ' - none - '
/* extends the parent 'plugin' with some function needed by the file explorer */ /* extends the parent 'plugin' with some function needed by the file explorer */
props.plugin.resetFocus = () => { props.plugin.resetFocus = (reset) => {
setState(prevState => { setState(prevState => {
return { ...prevState, reset: true } return { ...prevState, reset }
}) })
} }

Loading…
Cancel
Save