Commit 401ebef5 authored by yann300's avatar yann300

fix reset focus

parent 04b0a419
......@@ -29,9 +29,9 @@ export const Workspace = (props: WorkspaceProps) => {
const NO_WORKSPACE = ' - none - '
/* extends the parent 'plugin' with some function needed by the file explorer */
props.plugin.resetFocus = () => {
props.plugin.resetFocus = (reset) => {
setState(prevState => {
return { ...prevState, reset: true }
return { ...prevState, reset }
})
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment