From d50f928520893268edd19d14b25b3d99794f6a50 Mon Sep 17 00:00:00 2001 From: PhilReact Date: Sat, 2 Nov 2024 08:48:52 +0200 Subject: [PATCH] fix dev mode input --- src/components/Apps/AppsDevModeHome.tsx | 6 +- src/components/Apps/AppsDevModeNavBar.tsx | 86 ++++------------------- 2 files changed, 16 insertions(+), 76 deletions(-) diff --git a/src/components/Apps/AppsDevModeHome.tsx b/src/components/Apps/AppsDevModeHome.tsx index 3ffeccf..a5b4df1 100644 --- a/src/components/Apps/AppsDevModeHome.tsx +++ b/src/components/Apps/AppsDevModeHome.tsx @@ -59,11 +59,11 @@ export const AppsDevModeHome = ({ }); return; } - await show({ + const {portVal, domainVal} = await show({ message: "", publishFee: "", }); - const framework = domain + ":" + port; + const framework = domainVal + ":" + portVal; const response = await fetch( `${getBaseApiReact()}/developer/proxy/start`, { @@ -170,7 +170,7 @@ export const AppsDevModeHome = ({