diff --git a/src/views/gutenberg-blocks/tainacan-facets/faceted-search/index.js b/src/views/gutenberg-blocks/tainacan-facets/faceted-search/index.js index 40f5c2019..0fffd3903 100644 --- a/src/views/gutenberg-blocks/tainacan-facets/faceted-search/index.js +++ b/src/views/gutenberg-blocks/tainacan-facets/faceted-search/index.js @@ -724,8 +724,7 @@ registerBlockType('tainacan/faceted-search', { value={ defaultItemsPerPage ? defaultItemsPerPage : 12 } onChange={ ( itemsPerPage ) => { defaultItemsPerPage = itemsPerPage; - setAttributes( { defaultItemsPerPage: itemsPerPage } ) - setContent(); + setAttributes( { defaultItemsPerPage: itemsPerPage } ); }} min={ 1 } max={ tainacan_plugin.api_max_items_per_page ? tainacan_plugin.api_max_items_per_page : 96 }