Skip to content

Commit

Permalink
Code Data: Fix ESLint warning for the 'useEntityRecord' hook
Browse files Browse the repository at this point in the history
  • Loading branch information
Mamaduka committed Jun 16, 2023
1 parent 5326682 commit 8199529
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core-data/src/hooks/use-entity-record.ts
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ export default function useEntityRecord< RecordType >(
...saveOptions,
} ),
} ),
[ recordId ]
[ editEntityRecord, kind, name, recordId, saveEditedEntityRecord ]
);

const { editedRecord, hasEdits } = useSelect(
Expand Down

0 comments on commit 8199529

Please sign in to comment.