cash-stacks/frontend/src/hooks/getMany/useAccounts.ts
2021-07-15 23:06:36 -06:00

5 lines
144 B
TypeScript

import { Account } from '../../types'
import { useGet } from '../util/useGet'
export const useAccounts = () => useGet<Account[]>(`/accounts/`)