import { LiveblocksProvider } from "@liveblocks/react" ; import { createClient } from "@liveblocks/client" ; import { AppProps } from "next/app" ; import "tailwindcss/tailwind.css" ; import "../components/globals.css" ; const client = createClient ( { authEndpoint : "/api/auth" , } ) ; function MyApp ( { Component , pageProps } ) { return ( < LiveblocksProvider client = { client } > < Component { ... pageProps } / > < /LiveblocksProvider>); } export default MyApp ;