diff --git a/packages/desktop-client/src/hooks/useTransactionBatchActions.ts b/packages/desktop-client/src/hooks/useTransactionBatchActions.ts index 7f8f0780a47..f5c60b80a03 100644 --- a/packages/desktop-client/src/hooks/useTransactionBatchActions.ts +++ b/packages/desktop-client/src/hooks/useTransactionBatchActions.ts @@ -114,10 +114,6 @@ export function useTransactionBatchActions() { valueToSet = value; } } - if (name === 'imported_payee') { - // Unmark as imported transaction by setting imported payee to empty string. - valueToSet = ''; - } const transaction = { ...trans, [name]: valueToSet, @@ -232,7 +228,8 @@ export function useTransactionBatchActions() { // loaded. Need to clean this up in the future. onChange('cleared', null); } else if (name === 'imported_payee') { - onChange('imported_payee', null); + // Unmark as imported transaction by setting imported payee to empty string. + onChange('imported_payee', ''); } else if (name === 'category') { pushCategoryAutocompleteModal(); } else if (name === 'payee') {