Remove unused variable
This commit is contained in:
parent
ae1e39ba3f
commit
92297c0d2c
|
@ -516,9 +516,7 @@ export default class TreeMode extends PureComponent {
|
|||
}
|
||||
|
||||
handleKeyDownPaste = (event) => {
|
||||
const { clipboard, eson } = this.state
|
||||
|
||||
if (clipboard && clipboard.length > 0) {
|
||||
if (this.state.clipboard && this.state.clipboard.length > 0) {
|
||||
event.preventDefault()
|
||||
|
||||
this.handlePaste()
|
||||
|
|
Loading…
Reference in New Issue