diff --git a/packages/edit-site/src/components/dataviews/filters.js b/packages/edit-site/src/components/dataviews/filters.js
index 6937554fce4989..a1180979ff4f2e 100644
--- a/packages/edit-site/src/components/dataviews/filters.js
+++ b/packages/edit-site/src/components/dataviews/filters.js
@@ -49,26 +49,24 @@ export default function Filters( { fields, view, onChangeView } ) {
} );
} );
- return (
- view.visibleFilters?.map( ( filterName ) => {
- const filter = filterIndex[ filterName ];
+ return view.visibleFilters?.map( ( filterName ) => {
+ const filter = filterIndex[ filterName ];
- if ( ! filter ) {
- return null;
- }
+ if ( ! filter ) {
+ return null;
+ }
- if ( filter.type === 'enumeration' ) {
- return (
-
- );
- }
+ if ( filter.type === 'enumeration' ) {
+ return (
+
+ );
+ }
- return null;
- } ) || __( 'No filters available' )
- );
+ return null;
+ } );
}