motorin along

This commit is contained in:
Elijah Lucian
2021-07-15 23:06:36 -06:00
parent 8ff02f6149
commit 01a1876b3d
23 changed files with 236 additions and 250 deletions
@@ -2,4 +2,4 @@ import { Transaction } from '../../types'
import { useGet } from '../util/useGet'
export const useTransactions = (accountId: string) =>
useGet<Transaction[]>(`/accounts/${accountId}/transactions`)
useGet<Transaction[]>(`/transactions/`)