From 48644147496545a369974c470cfecff2c8e893ca Mon Sep 17 00:00:00 2001 From: franck403 <79372051+franck403@users.noreply.github.com> Date: Mon, 1 Jan 2024 09:50:30 -0500 Subject: [PATCH] working --- src/containers/applications/apps/terminal.jsx | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/containers/applications/apps/terminal.jsx b/src/containers/applications/apps/terminal.jsx index 72e89244..f25179c0 100644 --- a/src/containers/applications/apps/terminal.jsx +++ b/src/containers/applications/apps/terminal.jsx @@ -77,8 +77,6 @@ export const WnTerminal = () => { } } else if (type == "install") { if (arg.length) { - const apps = useSelector((state) => state.apps); - const dispatch = useDispatch(); tmpStack.push("Installing app"); var AppName = arg[arg.indexOf("-n") + 1]; var IframeUrl = arg[arg.indexOf("-u") + 1]; @@ -95,9 +93,6 @@ export const WnTerminal = () => { }; installApp(Json); tmpStack.push("App installed"); - tmpStack.push("App starting"); - dispatch({ type: apps[Json.icon].action, payload: "full" }); - tmpStack.push("App started"); } } else if (type == "python") { if (arg.length) {