From 14e9180ba7e7573c2ec9e7925de4b391b2b7512d Mon Sep 17 00:00:00 2001 From: Francesco Scandiffio Date: Thu, 12 Sep 2024 03:29:38 +0200 Subject: [PATCH] Fix: #7161 replace src value in DataTable typescript documentation (#7162) --- components/doc/datatable/samples/productsdoc.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/doc/datatable/samples/productsdoc.js b/components/doc/datatable/samples/productsdoc.js index d5eeba8b1a..706e006ac5 100644 --- a/components/doc/datatable/samples/productsdoc.js +++ b/components/doc/datatable/samples/productsdoc.js @@ -861,7 +861,7 @@ export default function ProductsDemo() { }; const imageBodyTemplate = (rowData: Product) => { - return {rowData.image!}; + return {rowData.image!}; }; const priceBodyTemplate = (rowData: Product) => { @@ -959,7 +959,7 @@ export default function ProductsDemo() { - {product.image && {product.image}} + {product.image && {product.image}}