Skip to content

Commit

Permalink
Don't know why, but these controls in the nav link are duplicated.
Browse files Browse the repository at this point in the history
Removing the duplicate.
  • Loading branch information
mark-c-woodard committed Dec 15, 2024
1 parent 3912308 commit 415a287
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions src/blocks/navigation-link/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -1156,21 +1156,6 @@ export default function Edit(props) {
onFocus={() => setIsLabelFieldFocused(true)}
onBlur={() => setIsLabelFieldFocused(false)}
/>
<ToggleControl
label={__('Hide Label', 'kadence-blocks')}
checked={hideLabel}
onChange={(value) => setAttributes({ hideLabel: value })}
/>
<TextControl
__nextHasNoMarginBottom
value={url ? url : ''}
onChange={(value) => {
setAttributes({ url: value });
}}
label={__('URL')}
autoComplete="off"
disabled={hasSyncedLink}
/>
{hasSyncedLink && (
<Button
variant="link"
Expand Down

0 comments on commit 415a287

Please sign in to comment.