From 1bfdceb34c8df0dfa5aaa2a743674f277e4ca42a Mon Sep 17 00:00:00 2001 From: Shahed Nasser Date: Fri, 16 Aug 2024 09:28:31 +0300 Subject: [PATCH] docs: fix usage of AdminCreateProduct in validation of digital product recipe (#8601) --- .../app/recipes/digital-products/examples/standard/page.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www/apps/resources/app/recipes/digital-products/examples/standard/page.mdx b/www/apps/resources/app/recipes/digital-products/examples/standard/page.mdx index 76b000eb87..7e9366d7da 100644 --- a/www/apps/resources/app/recipes/digital-products/examples/standard/page.mdx +++ b/www/apps/resources/app/recipes/digital-products/examples/standard/page.mdx @@ -686,7 +686,7 @@ export const createDigitalProductsSchema = z.object({ file_id: z.string(), mime_type: z.string(), })), - product: AdminCreateProduct, + product: AdminCreateProduct(), }) ``` @@ -2616,4 +2616,4 @@ Aside from customizing the Next.js Starter storefront, you can also create a cus ### Admin Development -In this recipe, you learned how to customize the admin with UI routes. You can also do further customization using widgets. Learn more in [this documentation](!docs!/advanced-development/admin). \ No newline at end of file +In this recipe, you learned how to customize the admin with UI routes. You can also do further customization using widgets. Learn more in [this documentation](!docs!/advanced-development/admin).