diff --git a/README.md b/README.md index 18de659..8d8b73a 100644 --- a/README.md +++ b/README.md @@ -31,25 +31,28 @@ const config: Config = { export default config; -2. Wrap your application with the RainbowKitClientProvider in your layout file: +2. Wrap your application with the IqLoginProvider in your layout file: ```tsx // app/layout.tsx import { RainbowKitClientProvider } from "@everipedia/iq-login"; import { polygon } from 'wagmi/chains'; +import { headers } from "next/headers"; export default function RootLayout({ children, }: Readonly<{ children: React.ReactNode; }>) { + const cookie = (await headers()).get("cookie") || ""; return ( {children}