Skip to content

Commit

Permalink
feat(mobile): track currency on transaction_created event (#329)
Browse files Browse the repository at this point in the history
  • Loading branch information
duongdev committed Sep 17, 2024
1 parent a6cd44b commit 84a3055
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apps/mobile/stores/transaction/hooks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,7 @@ export function useCreateTransaction() {
transaction_budget_id: transaction.budgetId,
transaction_date: transaction.date,
transaction_category_type: categoryType,
transaction_currency: transaction.currency,
})

return transaction
Expand Down Expand Up @@ -340,6 +341,7 @@ export function useUpdateTransaction() {
transaction_budget_id: transaction.budgetId,
transaction_date: transaction.date,
transaction_category_type: categoryType,
transaction_currency: transaction.currency,
})

return transaction
Expand Down

0 comments on commit 84a3055

Please sign in to comment.