almost mvp

This commit is contained in:
Elijah Lucian
2021-07-16 22:07:41 -06:00
parent 674e3fd253
commit 2ebe8bcd1f
17 changed files with 130 additions and 68 deletions
@@ -1,5 +1,4 @@
import { Transaction } from '../../types'
import { useGet } from '../util/useGet'
export const useTransactions = (accountId: string) =>
useGet<Transaction[]>(`/transactions/`)
export const useTransactions = () => useGet<Transaction[]>(`/transactions/`)