We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1b03cc8 commit 89937a1Copy full SHA for 89937a1
src/provider.tsx
@@ -1,7 +1,7 @@
1
import type { ClientFetcher } from "client";
2
import { createContext, useContext } from "react";
3
import invariant from "tiny-invariant";
4
-import type * as React from "react";
+import type { PropsWithChildren } from "react";
5
6
/**
7
* Context to provide the fetcher for the API used during client side calls
@@ -10,7 +10,7 @@ export const ClientGqlFetcherContext = createContext<ClientFetcher | undefined>(
10
undefined,
11
);
12
13
-export type ClientGqlFetcherProviderProps = React.PropsWithChildren<{
+export type ClientGqlFetcherProviderProps = PropsWithChildren<{
14
fetcher: ClientFetcher;
15
}>;
16
0 commit comments