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 -2
View File
@@ -8,8 +8,8 @@ export const useGet = <T>(path: string) => {
const get = useCallback(async () => {
const data = await appContext.current.get<T>(path)
if (!data) return
setData(data)
// @ts-ignore
setData(data.results)
}, [path])
useEffect(() => {