mirror of
https://github.com/Jellify-Music/App.git
synced 2026-03-09 05:30:22 -05:00
omfg like this maybe?
This commit is contained in:
@@ -26,6 +26,6 @@ export const usePublicApi = (serverUrl: string) => useQuery({
|
||||
export const useApi = () => useQuery({
|
||||
queryKey: [QueryKeys.Api],
|
||||
queryFn: async ({ queryKey }) => {
|
||||
createApi();
|
||||
return createApi();
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user