Skip to content

Commit

Permalink
Make code self documenting
Browse files Browse the repository at this point in the history
  • Loading branch information
getdave committed Jun 23, 2023
1 parent 1b22268 commit d4120f5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/core-data/src/resolvers.js
Original file line number Diff line number Diff line change
Expand Up @@ -585,12 +585,14 @@ export const getNavigationFallbackId =
dispatch.receiveNavigationFallbackId( fallback?.id );

if ( record ) {
const invalidateNavigationQueries = true;

dispatch.receiveEntityRecords(
'postType',
'wp_navigation',
record,
undefined,
true
invalidateNavigationQueries
);

// Resolve to avoid further network requests.
Expand Down

0 comments on commit d4120f5

Please sign in to comment.