Skip to content

Commit ee5571a

Browse files
Mamadukaellatrixt-hamano
authored andcommitted
DataViews: Remove unnecessary dependency for pattern fields memo (WordPress#61870)
Co-authored-by: Mamaduka <[email protected]> Co-authored-by: ellatrix <[email protected]> Co-authored-by: t-hamano <[email protected]>
1 parent e4434f0 commit ee5571a

File tree

1 file changed

+1
-1
lines changed
  • packages/edit-site/src/components/page-patterns

1 file changed

+1
-1
lines changed

packages/edit-site/src/components/page-patterns/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ export default function DataviewsPatterns() {
336336
}
337337

338338
return _fields;
339-
}, [ view.type, categoryId, type, authors ] );
339+
}, [ view.type, type, authors ] );
340340

341341
// Reset the page number when the category changes.
342342
useEffect( () => {

0 commit comments

Comments
 (0)