From d234214967fe306741d9fdb8cbc9f600838e9e15 Mon Sep 17 00:00:00 2001 From: Aditya <60684641+0x0elliot@users.noreply.github.com> Date: Tue, 22 Jul 2025 18:43:11 +0530 Subject: [PATCH] fix: image build problems due to import --- frontend/src/views/AppCreator.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/views/AppCreator.jsx b/frontend/src/views/AppCreator.jsx index 1eaf5fcb..414a7af0 100755 --- a/frontend/src/views/AppCreator.jsx +++ b/frontend/src/views/AppCreator.jsx @@ -54,7 +54,7 @@ import YAML from "yaml"; import { MuiChipsInput } from "mui-chips-input"; //import { useAlert import { ToastContainer, toast } from "react-toastify" -import words from "shellwords"; +import { split } from "shellwords"; import AvatarEditor from "react-avatar-editor"; import { Context } from "../context/ContextApi.jsx"; @@ -119,7 +119,7 @@ const parseCurl = (s) => { } try { - var args = rewrite(words.split(s)); + var args = rewrite(split(s)); } catch (e) { return s; }