Skip to content

Commit

Permalink
DataViews: Remove unnecessary dependency for pattern fields memo
Browse files Browse the repository at this point in the history
  • Loading branch information
Mamaduka committed May 22, 2024
1 parent 8075cb1 commit 7913e12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/edit-site/src/components/page-patterns/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ export default function DataviewsPatterns() {
}

return _fields;
}, [ view.type, categoryId, type, authors ] );
}, [ view.type, type, authors ] );

// Reset the page number when the category changes.
useEffect( () => {
Expand Down

0 comments on commit 7913e12

Please sign in to comment.