File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed
apps/dashboard/src/app/checkout Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 1+ "use client" ;
2+ import { ThirdwebProvider } from "thirdweb/react" ;
3+
4+ export function Providers ( { children } : { children : React . ReactNode } ) {
5+ return < ThirdwebProvider > { children } </ ThirdwebProvider > ;
6+ }
Original file line number Diff line number Diff line change 11import { cn } from "@/lib/utils" ;
22import { ThemeProvider } from "next-themes" ;
33import { Inter } from "next/font/google" ;
4- import { ThirdwebProvider } from "thirdweb/react " ;
4+ import { Providers } from "./components/client/Providers.client " ;
55
66const fontSans = Inter ( {
77 subsets : [ "latin" ] ,
@@ -14,7 +14,7 @@ export default function CheckoutLayout({
1414} : { children : React . ReactNode } ) {
1515 return (
1616 < html lang = "en" suppressHydrationWarning >
17- < ThirdwebProvider >
17+ < Providers >
1818 < ThemeProvider
1919 attribute = "class"
2020 disableTransitionOnChange
@@ -30,7 +30,7 @@ export default function CheckoutLayout({
3030 { children }
3131 </ body >
3232 </ ThemeProvider >
33- </ ThirdwebProvider >
33+ </ Providers >
3434 </ html >
3535 ) ;
3636}
You can’t perform that action at this time.
0 commit comments