"use client" import '@mantine/core/styles.css' import { hydrate, QueryClient, QueryClientProvider, } from '@tanstack/react-query' import { ColorSchemeScript, MantineProvider } from '@mantine/core' import { useState } from 'react' // export const metadata = { // title: 'My Mantine app', // description: 'I have followed setup instructions carefully', // } // const queryClient = new QueryClient() export default function RootLayout({ children, }: { children: React.ReactNode }) { const [queryClient] = useState(() => new QueryClient()) return ( {/* can add a theme */} {children} ) }