|
|
@ -712,6 +712,7 @@ export const FileExplorer = (props: FileExplorerProps) => { |
|
|
|
} |
|
|
|
} |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
if (state.focusEdit.lastEdit === content) { |
|
|
|
if (state.focusEdit.lastEdit === content) { |
|
|
|
|
|
|
|
editRef.current.textContent = content |
|
|
|
return setState(prevState => { |
|
|
|
return setState(prevState => { |
|
|
|
return { ...prevState, focusEdit: { element: null, isNew: false, type: '', lastEdit: '' } } |
|
|
|
return { ...prevState, focusEdit: { element: null, isNew: false, type: '', lastEdit: '' } } |
|
|
|
}) |
|
|
|
}) |
|
|
|