omfg like this maybe?

This commit is contained in:
Violet Caulfield
2024-10-16 11:34:28 -05:00
parent 05494a49cb
commit 1d65a980a7
5 changed files with 52 additions and 24 deletions

View File

@@ -26,6 +26,6 @@ export const usePublicApi = (serverUrl: string) => useQuery({
export const useApi = () => useQuery({
queryKey: [QueryKeys.Api],
queryFn: async ({ queryKey }) => {
createApi();
return createApi();
}
})