import { ThirdwebProvider } from "thirdweb/react";export default function AbstractWalletWrapper({ children,}: { children: React.ReactNode;}) { return ( <ThirdwebProvider> {/* Your application components */} </ThirdwebProvider> );}
Next.js App Router: If you are using Next.js App
Router, create a new component and add the use client directive at the top of your file (see
example)
and wrap your application in this component (see
example).