From a361b090c59129aef8960cfef4b687cf286951fd Mon Sep 17 00:00:00 2001 From: bunsenstraat Date: Mon, 19 Feb 2024 19:47:18 +0100 Subject: [PATCH] Update index.ts --- libs/remix-ui/xterm/src/lib/actions/index.ts | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/libs/remix-ui/xterm/src/lib/actions/index.ts b/libs/remix-ui/xterm/src/lib/actions/index.ts index 398532ec8e..956c850296 100644 --- a/libs/remix-ui/xterm/src/lib/actions/index.ts +++ b/libs/remix-ui/xterm/src/lib/actions/index.ts @@ -9,19 +9,4 @@ export const createTerminal = async (shell: string = '', plugin: Plugin, working dispatch({ type: 'HIDE_ALL_TERMINALS', payload: null }) dispatch({ type: 'ADD_TERMINAL', payload: { pid, queue: '', timeStamp: Date.now(), ref: null, hidden: false } }) - /* - setTerminals(prevState => { - // set all to hidden - prevState.forEach(xtermState => { - xtermState.hidden = true - }) - return [...prevState, { - pid: pid, - queue: '', - timeStamp: Date.now(), - ref: null, - hidden: false - }] - }) - */ -} \ No newline at end of file +}