stuff, with a side of things
This commit is contained in:
@@ -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`)
|
||||
|
||||
Reference in New Issue
Block a user