Skip to content

Commit

Permalink
Update src/libs/TransactionUtils.js
Browse files Browse the repository at this point in the history
Vit is right as always

Co-authored-by: Vit Horacek <[email protected]>
  • Loading branch information
yuwenmemon and mountiny authored Sep 12, 2023
1 parent 692a5ad commit e7df566
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/TransactionUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ function getMerchant(transaction) {
* @return {*}
*/
function getCategory(transaction) {
return lodashGet(transaction, 'category', null);
return lodashGet(transaction, 'category', '');
}

/**
Expand Down

0 comments on commit e7df566

Please sign in to comment.