Skip to content

Commit

Permalink
fix: missing condition for block appender in list container (#74)
Browse files Browse the repository at this point in the history
  • Loading branch information
dkoo authored Jun 21, 2021
1 parent f8641a7 commit 2c49896
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/blocks/list-container/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ const ListContainerEditorComponent = ( { attributes, clientId, innerBlocks } ) =
'newspack-listings/marketplace',
'newspack-listings/place',
] }
renderAppender={ () => <InnerBlocks.ButtonBlockAppender /> }
renderAppender={ () => ( queryMode ? null : <InnerBlocks.ButtonBlockAppender /> ) }
/>
</div>
);
Expand Down

0 comments on commit 2c49896

Please sign in to comment.