stuff, with a side of things

This commit is contained in:
Elijah Lucian
2021-07-15 13:51:57 -06:00
parent c62f88953e
commit 8e7fc05cd1
20 changed files with 21741 additions and 230 deletions
+1 -2
View File
@@ -1,5 +1,4 @@
import { Account } from '../../types'
import { useGet } from '../util/useGet'
export const useAccounts = (userId: string) =>
useGet<Account[]>(`/users/${userId}/accounts`)
export const useAccounts = () => useGet<Account[]>(`/accounts`)