Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
a11rew committed Sep 3, 2024
1 parent 654f0a7 commit 62e85b1
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions packages/react-sdk/src/core/pantheon-context.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { ApolloProvider } from "@apollo/client/react/context/ApolloProvider.js";
import { ApolloClient } from "@apollo/client/core/ApolloClient.js";

import { ApolloProvider } from "@apollo/client/react/context/ApolloProvider.js";
import { PantheonClient } from "@pantheon-systems/pcc-sdk-core";
import React, { PropsWithChildren } from "react";

Expand All @@ -15,7 +14,11 @@ export const PantheonProvider = ({
children,
}: PantheonProviderProps) => (
<PantheonContext.Provider value={client}>
<ApolloProvider client={client.apolloClient as unknown as ApolloClient<unknown>}>{children}</ApolloProvider>
<ApolloProvider
client={client.apolloClient as unknown as ApolloClient<unknown>}
>
{children}
</ApolloProvider>
</PantheonContext.Provider>
);

Expand Down

0 comments on commit 62e85b1

Please sign in to comment.