Skip to content

Commit

Permalink
reorder settings
Browse files Browse the repository at this point in the history
  • Loading branch information
Alameen688 committed Jan 15, 2025
1 parent 97cbe05 commit 4c48692
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions client/my-sites/earn/ads/form-settings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,14 @@ const AdsFormSettings = () => {
label={ translate( 'Inline within post content' ) }
/>
) }
{ ! siteIsJetpack && (
<ToggleControl
checked={ !! settings.display_options?.sidebar }
disabled={ isDisabled }
onChange={ () => handleDisplayToggle( 'sidebar' ) }
label={ translate( 'Sidebar' ) }
/>
) }
<ToggleControl
checked={ !! settings.display_options?.bottom_sticky_enabled }
disabled={ isDisabled }
Expand All @@ -284,14 +292,6 @@ const AdsFormSettings = () => {
onChange={ () => handleDisplayToggle( 'sidebar_sticky_right_enabled' ) }
label={ translate( 'Stick to the right side of each page' ) }
/>
{ ! siteIsJetpack && (
<ToggleControl
checked={ !! settings.display_options?.sidebar }
disabled={ isDisabled }
onChange={ () => handleDisplayToggle( 'sidebar' ) }
label={ translate( 'Sidebar' ) }
/>
) }
</FormFieldset>
</div>
);
Expand Down

0 comments on commit 4c48692

Please sign in to comment.