Skip to content

Commit

Permalink
Remove obsolete code
Browse files Browse the repository at this point in the history
  • Loading branch information
artemiomorales committed May 24, 2024
1 parent b9e7cde commit 144505c
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions packages/core-data/src/selectors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -732,23 +732,6 @@ export const __experimentalGetDirtyEntityRecords = createSelector(
( state ) => [ state.entities.records ]
);

/**
* Returns the list of dirty entity records.
*
* @param state State tree.
*
* @return The list of updated records
*/
export const __experimentalGetDirtyEntityRecordsEdits = createSelector(
( state: State ): any => {
const {
entities: { records },
} = state;
return records.postType.post.edits;
},
( state ) => [ state.entities.records ]
);

/**
* Returns the list of entities currently being saved.
*
Expand Down

0 comments on commit 144505c

Please sign in to comment.