Skip to content

Commit

Permalink
Make key in getEntityRecord optional
Browse files Browse the repository at this point in the history
  • Loading branch information
mikachan committed Nov 18, 2024
1 parent 5e5cf0c commit 2b37368
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core-data/src/selectors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ export const getEntityRecord = createSelector(
state: State,
kind: string,
name: string,
key: EntityRecordKey,
key?: EntityRecordKey,
query?: GetRecordsHttpQuery
): EntityRecord | undefined => {
const queriedState =
Expand Down

0 comments on commit 2b37368

Please sign in to comment.