From 184c0e257d43d6dcf428fa579b7e68ada0795ec5 Mon Sep 17 00:00:00 2001
From: Dima <9010963+message-dimke@users.noreply.github.com>
Date: Wed, 7 Aug 2024 19:23:58 +0300
Subject: [PATCH] Fixing JS lint issues.
---
.../catalog-sync/sections/SyncIssues.js | 45 +++++++++----------
1 file changed, 22 insertions(+), 23 deletions(-)
diff --git a/assets/source/catalog-sync/sections/SyncIssues.js b/assets/source/catalog-sync/sections/SyncIssues.js
index df2d4904..13091093 100644
--- a/assets/source/catalog-sync/sections/SyncIssues.js
+++ b/assets/source/catalog-sync/sections/SyncIssues.js
@@ -32,9 +32,9 @@ const SyncIssues = () => {
const total = feedIssues?.total_rows ?? 0
const messageStyles = {
- marginTop: "40px",
- textAlign: "right"
- }
+ marginTop: '40px',
+ textAlign: 'right'
+ };
if ( ! feedIssues?.lines?.length ) {
return null;
@@ -54,28 +54,27 @@ const SyncIssues = () => {
return (
<>
- {
- itemsLimit === total && (
-
- { createInterpolateElement(
- sprintf(
- // translators: %1$s: Total number of issues in the table.
- __(
- 'Only the first %1$s Errors and Warnings are displayed below. To see more, please, visit Pinterest Feed Diagnostics page.',
- 'pinterest-for-woocommerce'
- ),
- total
- ),
- {
- feedDiagnostics: (
-
- )
- }
+ { itemsLimit === total && (
+
+ { createInterpolateElement(
+ sprintf(
+ // translators: %1$s: Total number of issues in the table.
+ __(
+ 'Only the first %1$s Errors and Warnings are displayed below. To see more, please, visit Pinterest Feed Diagnostics page.',
+ 'pinterest-for-woocommerce'
+ ),
+ total
+ ),
+ {
+ feedDiagnostics: (
+
)
}
-
+ )
+ }
+
)
}