From d947656b1c302c1e4c1c706f890148e0fa089335 Mon Sep 17 00:00:00 2001 From: Lint Action Date: Thu, 16 Jan 2025 04:57:54 +0000 Subject: [PATCH] Fix code style issues with ESLint --- src/plugins/prebuilt-library/single-template-library.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/prebuilt-library/single-template-library.js b/src/plugins/prebuilt-library/single-template-library.js index 9479d940b..46fd503d2 100644 --- a/src/plugins/prebuilt-library/single-template-library.js +++ b/src/plugins/prebuilt-library/single-template-library.js @@ -78,7 +78,7 @@ class SingleTemplateLibrary extends Component { kadence_blocks_params.proData && kadence_blocks_params.proData.api_email ? kadence_blocks_params.proData.api_email : ''; - let data_product = kadence_blocks_params?.proData?.product_slug + const data_product = kadence_blocks_params?.proData?.product_slug ? kadence_blocks_params.proData.product_slug : ''; if (!data_key) { @@ -135,7 +135,7 @@ class SingleTemplateLibrary extends Component { kadence_blocks_params.proData && kadence_blocks_params.proData.api_email ? kadence_blocks_params.proData.api_email : ''; - let data_product = kadence_blocks_params?.proData?.product_slug + const data_product = kadence_blocks_params?.proData?.product_slug ? kadence_blocks_params.proData.product_slug : ''; if (!data_key) {