refactor: fixing lint

pull/1342/head
davidzagi93@gmail.com 3 years ago
parent 1a9aeeaaaf
commit 44e5e94cab
  1. 2
      libs/remix-ui/terminal/src/lib/remix-ui-terminal.tsx

@ -17,7 +17,6 @@ import { EMPTY_BLOCK, KNOWN_TRANSACTION, RemixUiTerminalProps, UNKNOWN_TRANSACTI
import { wrapScript } from './utils/wrapScript' import { wrapScript } from './utils/wrapScript'
/* eslint-disable-next-line */ /* eslint-disable-next-line */
export interface ClipboardEvent<T = Element> extends SyntheticEvent<T, any> { export interface ClipboardEvent<T = Element> extends SyntheticEvent<T, any> {
clipboardData: DataTransfer; clipboardData: DataTransfer;
} }
@ -27,7 +26,6 @@ export const RemixUiTerminal = (props: RemixUiTerminalProps) => {
const [toggleDownUp, setToggleDownUp] = useState('fa-angle-double-down') const [toggleDownUp, setToggleDownUp] = useState('fa-angle-double-down')
const [_cmdIndex, setCmdIndex] = useState(-1) const [_cmdIndex, setCmdIndex] = useState(-1)
const [_cmdTemp, setCmdTemp] = useState('') const [_cmdTemp, setCmdTemp] = useState('')
// dragable state // dragable state
const [leftHeight, setLeftHeight] = useState<undefined | number>(undefined) const [leftHeight, setLeftHeight] = useState<undefined | number>(undefined)
const [separatorYPosition, setSeparatorYPosition] = useState<undefined | number>(undefined) const [separatorYPosition, setSeparatorYPosition] = useState<undefined | number>(undefined)

Loading…
Cancel
Save