Skip to content

Commit 89937a1

Browse files
committed
style: import react type directly
1 parent 1b03cc8 commit 89937a1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/provider.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import type { ClientFetcher } from "client";
22
import { createContext, useContext } from "react";
33
import invariant from "tiny-invariant";
4-
import type * as React from "react";
4+
import type { PropsWithChildren } from "react";
55

66
/**
77
* Context to provide the fetcher for the API used during client side calls
@@ -10,7 +10,7 @@ export const ClientGqlFetcherContext = createContext<ClientFetcher | undefined>(
1010
undefined,
1111
);
1212

13-
export type ClientGqlFetcherProviderProps = React.PropsWithChildren<{
13+
export type ClientGqlFetcherProviderProps = PropsWithChildren<{
1414
fetcher: ClientFetcher;
1515
}>;
1616

0 commit comments

Comments
 (0)