Skip to content

Commit

Permalink
Fix code style issues with ESLint
Browse files Browse the repository at this point in the history
  • Loading branch information
lint-action committed Nov 19, 2024
1 parent c8c7c07 commit ec3d223
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/blocks/advancedheading/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,9 @@ function KadenceAdvancedHeading(props) {
: textShadow[0].color,
undefined !== textShadowMobile && undefined !== textShadowMobile[0] && undefined !== textShadowMobile[0].color
? textShadowMobile[0].color
: textShadowTablet[0].color ? textShadowTablet[0].color : textShadow[0].color
: textShadowTablet[0].color
? textShadowTablet[0].color
: textShadow[0].color
);
const previewHOffset = getPreviewSize(
previewDevice,
Expand Down Expand Up @@ -1776,13 +1778,12 @@ function KadenceAdvancedHeading(props) {
initialOpen={false}
panelName={'kb-adv-heading-text-shadow'}
>

<ToggleControl
label={"Enable Text Shadow"}
checked={ enableTextShadow }
onChange={ (value) => {
setAttributes({enableTextShadow: value });
} }
label={'Enable Text Shadow'}
checked={enableTextShadow}
onChange={(value) => {
setAttributes({ enableTextShadow: value });
}}
/>
{enableTextShadow === true && (
<ResponsiveShadowControl
Expand Down Expand Up @@ -1810,7 +1811,6 @@ function KadenceAdvancedHeading(props) {
}}
/>
)}

</KadencePanelBody>
{showSettings('iconSettings', 'kadence/advancedheading') && (
<KadencePanelBody
Expand Down

0 comments on commit ec3d223

Please sign in to comment.