From 1a3ffbb8159ff9120b6dc01187023d631525111e Mon Sep 17 00:00:00 2001 From: Emir Karabeg Date: Sun, 8 Feb 2026 10:48:16 -0800 Subject: [PATCH 1/2] improvement(deploy-modal): error and warning ui --- .../deploy-modal/components/api/api.tsx | 15 ----- .../components/deploy-modal/deploy-modal.tsx | 61 ++++++++++--------- 2 files changed, 33 insertions(+), 43 deletions(-) diff --git a/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/deploy/components/deploy-modal/components/api/api.tsx b/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/deploy/components/deploy-modal/components/api/api.tsx index 5db5dbdd01..e4d968c13c 100644 --- a/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/deploy/components/deploy-modal/components/api/api.tsx +++ b/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/deploy/components/deploy-modal/components/api/api.tsx @@ -28,7 +28,6 @@ interface ApiDeployProps { deploymentInfo: WorkflowDeploymentInfo | null isLoading: boolean needsRedeployment: boolean - apiDeployError: string | null getInputFormatExample: (includeStreaming?: boolean) => string selectedStreamingOutputs: string[] onSelectedStreamingOutputsChange: (outputs: string[]) => void @@ -63,7 +62,6 @@ export function ApiDeploy({ deploymentInfo, isLoading, needsRedeployment, - apiDeployError, getInputFormatExample, selectedStreamingOutputs, onSelectedStreamingOutputsChange, @@ -419,12 +417,6 @@ console.log(limits);` if (isLoading || !info) { return (
- {apiDeployError && ( -
-
API Deployment Error
-
{apiDeployError}
-
- )}
@@ -443,13 +435,6 @@ console.log(limits);` return (
- {apiDeployError && ( -
-
API Deployment Error
-
{apiDeployError}
-
- )} -