Skip to content

Commit

Permalink
Query Page Numbers Block: Fix reset button display state (#68759)
Browse files Browse the repository at this point in the history
Co-authored-by: t-hamano <wildworks@git.wordpress.org>
Co-authored-by: Mamaduka <mamaduka@git.wordpress.org>
  • Loading branch information
3 people authored Jan 18, 2025
1 parent dce84c2 commit 64c3aff
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export default function QueryPaginationNumbersEdit( {
>
<ToolsPanelItem
label={ __( 'Number of links' ) }
hasValue={ () => midSize !== undefined }
hasValue={ () => midSize !== 2 }
onDeselect={ () => setAttributes( { midSize: 2 } ) }
isShownByDefault
>
Expand Down

0 comments on commit 64c3aff

Please sign in to comment.