ProductPreviewDialog: close dialog after product adding

This commit is contained in:
2025-10-11 21:54:58 +03:00
parent e5f27d4192
commit 3f0723f107
3 changed files with 11 additions and 4 deletions

View File

@@ -28,7 +28,7 @@ export function ProductPreviewDialog({
minWidth: "80vw",
}}
>
<ProductDetailPage />
<ProductDetailPage onClose={onClose} />
</Modal>
);
}