From 4fe5f67445ea7f3ca1f879f6b6c36389778c8b96 Mon Sep 17 00:00:00 2001 From: Rodolphe Stoclin Date: Thu, 12 Dec 2024 15:23:53 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20React=20providers=20import?= =?UTF-8?q?s?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../app/module/common/provider/FrakProvider.tsx | 10 +++++----- .../app/module/common/provider/FrakProvider.tsx | 10 +++++----- .../src/module/common/provider/RootProvider.tsx | 12 ++++++------ 3 files changed, 16 insertions(+), 16 deletions(-) diff --git a/example/news-interactions/app/module/common/provider/FrakProvider.tsx b/example/news-interactions/app/module/common/provider/FrakProvider.tsx index 23eda325..86059f87 100644 --- a/example/news-interactions/app/module/common/provider/FrakProvider.tsx +++ b/example/news-interactions/app/module/common/provider/FrakProvider.tsx @@ -1,6 +1,6 @@ import { - NexusConfigProvider, - NexusIFrameClientProvider, + FrakConfigProvider, + FrakIFrameClientProvider, } from "@frak-labs/react-sdk"; import type { PropsWithChildren } from "react"; @@ -15,8 +15,8 @@ export function FrakProvider({ children }: PropsWithChildren) { }; return ( - - {children} - + + {children} + ); } diff --git a/example/wallet-ethcc/app/module/common/provider/FrakProvider.tsx b/example/wallet-ethcc/app/module/common/provider/FrakProvider.tsx index 4901a620..a026ed3f 100644 --- a/example/wallet-ethcc/app/module/common/provider/FrakProvider.tsx +++ b/example/wallet-ethcc/app/module/common/provider/FrakProvider.tsx @@ -1,6 +1,6 @@ import { - NexusConfigProvider, - NexusIFrameClientProvider, + FrakConfigProvider, + FrakIFrameClientProvider, } from "@frak-labs/react-sdk"; import type { PropsWithChildren } from "react"; @@ -14,8 +14,8 @@ export function FrakProvider({ children }: PropsWithChildren) { }; return ( - - {children} - + + {children} + ); } diff --git a/packages/dashboard/src/module/common/provider/RootProvider.tsx b/packages/dashboard/src/module/common/provider/RootProvider.tsx index c40ebe83..cbbdf015 100644 --- a/packages/dashboard/src/module/common/provider/RootProvider.tsx +++ b/packages/dashboard/src/module/common/provider/RootProvider.tsx @@ -2,8 +2,8 @@ import { frakWalletSdkConfig } from "@/context/frak-wallet/config"; import { - NexusConfigProvider, - NexusIFrameClientProvider, + FrakConfigProvider, + FrakIFrameClientProvider, } from "@frak-labs/react-sdk"; import { jotaiStore } from "@module/atoms/store"; import { createSyncStoragePersister } from "@tanstack/query-sync-storage-persister"; @@ -55,12 +55,12 @@ export function RootProvider({ children }: PropsWithChildren) { client={queryClient} persistOptions={persistOptions} > - - + + {children} - - + + );