mirror of
https://github.com/block/goose.git
synced 2026-07-17 12:56:20 +02:00
fix: New Recipe Warning does not close on cancel (#7524)
Co-authored-by: angiejones <15972783+angiejones@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
5477754628
commit
d74c8365f3
@@ -32,7 +32,7 @@ export function RecipeWarningModal({
|
||||
hasSecurityWarnings = false,
|
||||
}: RecipeWarningModalProps) {
|
||||
return (
|
||||
<Dialog open={isOpen}>
|
||||
<Dialog open={isOpen} onOpenChange={(open) => !open && onCancel()}>
|
||||
<DialogPortal>
|
||||
<DialogOverlay />
|
||||
<DialogPrimitive.Content
|
||||
|
||||
Reference in New Issue
Block a user