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) {