From f930c1aa7e0968c10b037b741f6116e1a60373c4 Mon Sep 17 00:00:00 2001 From: Lint Action Date: Wed, 15 Jan 2025 21:40:35 +0000 Subject: [PATCH] Fix code style issues with ESLint --- src/blocks/infobox/edit.js | 11 +++++++++-- src/blocks/infobox/save.js | 6 +++++- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/src/blocks/infobox/edit.js b/src/blocks/infobox/edit.js index 133448a0e..52174130a 100644 --- a/src/blocks/infobox/edit.js +++ b/src/blocks/infobox/edit.js @@ -3235,7 +3235,9 @@ function KadenceInfoBox(props) { : 12 } step={1} - reset={() => saveMediaStyle({ borderWidth: [0, 0, 0, 0], borderWidthUnit: 'px' })} + reset={() => + saveMediaStyle({ borderWidth: [0, 0, 0, 0], borderWidthUnit: 'px' }) + } showUnit={true} unit={mediaStyle[0].borderWidthUnit ?? 'px'} onUnit={(value) => saveMediaStyle({ borderWidthUnit: value })} @@ -3252,7 +3254,12 @@ function KadenceInfoBox(props) { ? 200 : 12 } - reset={() => saveMediaStyle({ borderRadius: [0, 15, 0, 15], borderRadiusUnit: 'px' })} + reset={() => + saveMediaStyle({ + borderRadius: [0, 15, 0, 15], + borderRadiusUnit: 'px', + }) + } showUnit={true} unit={mediaStyle[0].borderRadiusUnit ?? 'px'} onUnit={(value) => saveMediaStyle({ borderRadiusUnit: value })} diff --git a/src/blocks/infobox/save.js b/src/blocks/infobox/save.js index ad9c68cb7..ef3993953 100644 --- a/src/blocks/infobox/save.js +++ b/src/blocks/infobox/save.js @@ -135,7 +135,11 @@ function Save({ attributes, className }) { }`} >
- +
);