fix: corrected wrong spelling for `unknownTransaction`

pull/5370/head
davidzagi93@gmail.com 3 years ago
parent 1dcf61ceb0
commit 51cd6055df
  1. 4
      libs/remix-ui/terminal/src/lib/remix-ui-terminal.tsx
  2. 2
      libs/remix-ui/terminal/src/lib/types/terminalTypes.ts

@ -37,7 +37,7 @@ export const RemixUiTerminal = (props: RemixUiTerminalProps) => {
const [newstate, dispatch] = useReducer(registerCommandReducer, initialState)
const [cmdHistory, cmdHistoryDispatch] = useReducer(addCommandHistoryReducer, initialState)
const [, scriptRunnerDispatch] = useReducer(registerScriptRunnerReducer, initialState)
const [isListeningOnNetwork, setIsListeningOnNetwork] = useState(false)
const [, setIsListeningOnNetwork] = useState(false)
const [clearConsole, setClearConsole] = useState(false)
const [paste, setPaste] = useState(false)
const [autoCompletState, setAutoCompleteState] = useState({
@ -101,7 +101,7 @@ export const RemixUiTerminal = (props: RemixUiTerminalProps) => {
if (output) scriptRunnerDispatch({ type: 'script', payload: { message: '5' } })
})
}, { activate: true }, dispatch)
}, [isListeningOnNetwork, autoCompletState.text])
}, [autoCompletState.text])
useEffect(() => {
scrollToBottom()

@ -7,7 +7,7 @@ export interface ROOTS {
}
export const KnownTransaction = 'knownTransaction'
export const UnknownTransaction = 'unkownTransaction'
export const UnknownTransaction = 'unknownTransaction'
export const EmptyBlock = 'emptyBlock'
export const NewTransaction = 'newTransaction'
export const NewBlock = 'newBlock'

Loading…
Cancel
Save