1
0
mirror of https://github.com/tooot-app/app synced 2025-06-05 22:19:13 +02:00

Update counts with remote data

This commit is contained in:
xmflsct
2023-04-12 23:48:39 +02:00
parent 20152790f5
commit e74a73fbd7
2 changed files with 53 additions and 55 deletions

View File

@@ -8,7 +8,7 @@ const queryFunction = async ({ queryKey }: QueryFunctionContext<QueryKeyNeodb>)
apiGeneral({
method: 'get',
domain: 'neodb.social',
url: `/api/${queryKey[1].path}`
url: `api/${queryKey[1].path}`
}).then(res => res.body)
export const useNeodbQuery = (