diff --git a/resources/scripts/components/server/Console.tsx b/resources/scripts/components/server/Console.tsx index 1f43f1bf2..8f23c4a3a 100644 --- a/resources/scripts/components/server/Console.tsx +++ b/resources/scripts/components/server/Console.tsx @@ -4,7 +4,6 @@ import * as TerminalFit from 'xterm/lib/addons/fit/fit'; import SpinnerOverlay from '@/components/elements/SpinnerOverlay'; import { State, useStoreState } from 'easy-peasy'; import { ApplicationState } from '@/state/types'; -import { connect } from 'formik'; const theme = { background: 'transparent', @@ -68,7 +67,7 @@ export default () => { instance.removeListener('server log', handleServerLog); instance.removeListener('console output', handleConsoleOutput); } - }); + }, []); return (