From d74c8365f3b5d372ed58a4d5ff989492649d7397 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 26 Feb 2026 17:11:45 +0000 Subject: [PATCH] fix: New Recipe Warning does not close on cancel (#7524) Co-authored-by: angiejones <15972783+angiejones@users.noreply.github.com> --- ui/desktop/src/components/ui/RecipeWarningModal.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/desktop/src/components/ui/RecipeWarningModal.tsx b/ui/desktop/src/components/ui/RecipeWarningModal.tsx index 2f27874dae..3f1cdaceae 100644 --- a/ui/desktop/src/components/ui/RecipeWarningModal.tsx +++ b/ui/desktop/src/components/ui/RecipeWarningModal.tsx @@ -32,7 +32,7 @@ export function RecipeWarningModal({ hasSecurityWarnings = false, }: RecipeWarningModalProps) { return ( - + !open && onCancel()}>