From 8b3c7d5c51690038ef94df5a0bcecaeb3e27837d Mon Sep 17 00:00:00 2001 From: Danny Rorabaugh Date: Wed, 7 Aug 2024 11:20:46 -0400 Subject: [PATCH] Remove unused prop --- .../DataEntry/DataEntryTable/EntryCellComponents/DeleteEntry.tsx | 1 - src/components/DataEntry/DataEntryTable/RecentEntry.tsx | 1 - 2 files changed, 2 deletions(-) diff --git a/src/components/DataEntry/DataEntryTable/EntryCellComponents/DeleteEntry.tsx b/src/components/DataEntry/DataEntryTable/EntryCellComponents/DeleteEntry.tsx index dcb2976e2a..6b769482f2 100644 --- a/src/components/DataEntry/DataEntryTable/EntryCellComponents/DeleteEntry.tsx +++ b/src/components/DataEntry/DataEntryTable/EntryCellComponents/DeleteEntry.tsx @@ -13,7 +13,6 @@ interface DeleteEntryProps { // and deletion will happen when the button is pressed confirmId?: string; disabled?: boolean; - wordId?: string; } /** diff --git a/src/components/DataEntry/DataEntryTable/RecentEntry.tsx b/src/components/DataEntry/DataEntryTable/RecentEntry.tsx index 80088b4191..bdedce59ef 100644 --- a/src/components/DataEntry/DataEntryTable/RecentEntry.tsx +++ b/src/components/DataEntry/DataEntryTable/RecentEntry.tsx @@ -171,7 +171,6 @@ export function RecentEntry(props: RecentEntryProps): ReactElement { buttonId={`${idAffix}-${props.rowIndex}-delete`} confirmId={"addWords.deleteRowWarning"} disabled={editing || props.disabled} - wordId={props.entry.id} />