Skip to content

Commit

Permalink
DataViews: add missing key to ResetFilters component (#56189)
Browse files Browse the repository at this point in the history
  • Loading branch information
oandregal authored Nov 16, 2023
1 parent f9b544d commit 8fa043b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/edit-site/src/components/dataviews/filters.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,11 @@ export default function Filters( { fields, view, onChangeView } ) {

if ( filterComponents.length > 1 ) {
filterComponents.push(
<ResetFilters view={ view } onChangeView={ onChangeView } />
<ResetFilters
key="reset-filters"
view={ view }
onChangeView={ onChangeView }
/>
);
}

Expand Down

0 comments on commit 8fa043b

Please sign in to comment.