()
| 67 | * client or more than one registered client. |
| 68 | */ |
| 69 | export function getDefaultQueryClient(): QueryClient | undefined { |
| 70 | if (registeredClients.size > 1) { |
| 71 | return undefined |
| 72 | } |
| 73 | |
| 74 | return defaultClient |
| 75 | } |
| 76 | |
| 77 | /** |
| 78 | * Creates the error thrown when no `QueryClient` is available. |
no outgoing calls
no test coverage detected