Skip to content

Commit b39bb97

Browse files
committed
fix(deploy): use the emcn toast input shape
1 parent 693e245 commit b39bb97

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/deploy

apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/deploy/deploy.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ export function Deploy({ activeWorkflowId, userPermissions, disabled = false }:
8383
/* The palette can't render a disabled state for this action yet, so a
8484
gated invocation reports the same reason the button's tooltip shows. */
8585
if (isRegistryLoading || isDisabled) {
86-
toast(isRegistryLoading ? 'Workflow is still loading' : getTooltipText())
86+
toast({ message: isRegistryLoading ? 'Workflow is still loading' : getTooltipText() })
8787
return
8888
}
8989
void onDeployClick()

0 commit comments

Comments
 (0)