|
|
|
@ -27,7 +27,7 @@ import RenderUnKnownTransactions from './components/RenderUnknownTransactions' / |
|
|
|
|
import RenderCall from './components/RenderCall' // eslint-disable-line
|
|
|
|
|
import RenderKnownTransactions from './components/RenderKnownTransactions' // eslint-disable-line
|
|
|
|
|
import parse from 'html-react-parser' |
|
|
|
|
import { EMPTY_BLOCK, KNOWN_TRANSACTION, RemixUiTerminalProps, SET_ISVM, UNKNOWN_TRANSACTION } from './types/terminalTypes' |
|
|
|
|
import { EMPTY_BLOCK, KNOWN_TRANSACTION, RemixUiTerminalProps, SET_ISVM, SET_OPEN, UNKNOWN_TRANSACTION } from './types/terminalTypes' |
|
|
|
|
import { wrapScript } from './utils/wrapScript' |
|
|
|
|
import { TerminalContext } from './context' |
|
|
|
|
const _paq = (window._paq = window._paq || []) |
|
|
|
@ -570,6 +570,7 @@ export const RemixUiTerminal = (props: RemixUiTerminalProps) => { |
|
|
|
|
|
|
|
|
|
props.plugin.on('layout', 'change', (panels) => { |
|
|
|
|
setIsOpen(!panels.terminal.minimized) |
|
|
|
|
dispatch({ type: SET_OPEN, payload: !panels.terminal.minimized }) |
|
|
|
|
}) |
|
|
|
|
|
|
|
|
|
return () => { |
|
|
|
|