"use client"
import { createJazzReactContext, DemoAuth } from "jazz-react"
const Jazz = createJazzReactContext({
auth: DemoAuth({ appName: "My App" }),
peer: "wss://mesh.jazz.tools/?key=example@gmail.com" // <- put your email here to get a proper API key later
})
export const { useAccount, useCoState } = Jazz
export function JazzProvider({ children }: { children: React.ReactNode }) {
return <Jazz.Provider>{children}</Jazz.Provider>
}
Getting this error after login using the
DemoAuth
App is using Nextjs 14.
Step reproduce