test
This commit is contained in:
parent
814b892551
commit
a1a7d94ed1
@ -33,7 +33,7 @@ const useTerminalResize = (terminalRef: React.RefObject<HTMLDivElement>, fitAddo
|
||||
|
||||
function TerminalComponent(p: { websocket: string | null }) {
|
||||
const { websocket } = p;
|
||||
const terminalRef = useRef<HTMLDivElement>(null);
|
||||
const terminalRef = useRef<HTMLDivElement | null>(null);
|
||||
const terminal = useRef<Terminal | null>(null);
|
||||
const fitAddon = useRef<FitAddon | null>(null);
|
||||
const newWindow = useRef<Window | null>(null);
|
||||
|
Loading…
x
Reference in New Issue
Block a user