diff --git a/packages/dataviews/src/search.js b/packages/dataviews/src/search.js index 217409064f6d8..d339a9dedf385 100644 --- a/packages/dataviews/src/search.js +++ b/packages/dataviews/src/search.js @@ -25,7 +25,7 @@ const Search = memo( function Search( { label, view, onChangeView } ) { search: debouncedSearch, } ); } - }, [ debouncedSearch ] ); + }, [ debouncedSearch, view ] ); const searchLabel = label || __( 'Search' ); return (