fix: account transactions don't show up

This commit is contained in:
Ahmed Bouhuolia
2026-01-01 22:09:51 +02:00
parent 0f377e19f3
commit 885d8014c2
13 changed files with 8 additions and 24 deletions

View File

@@ -205,7 +205,7 @@ export function useAccountTransactions(id, props) {
[t.ACCOUNT_TRANSACTION, id],
{ method: 'get', url: `accounts/transactions?account_id=${id}` },
{
select: (res) => res.data.transactions,
select: (res) => res.data,
defaultData: [],
...props,
},