Skip to content

Commit

Permalink
remove another warning
Browse files Browse the repository at this point in the history
  • Loading branch information
janmonschke committed Oct 11, 2024
1 parent 9919cb9 commit c4a8eb5
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -327,10 +327,10 @@ export const selectNotesBySavedObjectId = createSelector(
export const selectDocumentNotesBySavedObjectId = createSelector(
[
selectAllNotes,
(
state: State,
{ documentId, savedObjectId }: { documentId: string; savedObjectId: string }
) => ({ documentId, savedObjectId }),
(_: State, { documentId, savedObjectId }: { documentId: string; savedObjectId: string }) => ({
documentId,
savedObjectId,
}),
],
(notes, { documentId, savedObjectId }) =>
notes.filter((note) => note.eventId === documentId && note.timelineId === savedObjectId)
Expand Down

0 comments on commit c4a8eb5

Please sign in to comment.