Refactor to use ai/rsc (#253)
This commit is contained in:
parent
69ca8fcc22
commit
e85ba803dd
66 changed files with 2799 additions and 740 deletions
|
|
@ -1,4 +1,3 @@
|
|||
import { Toaster } from 'react-hot-toast'
|
||||
import { GeistSans } from 'geist/font/sans'
|
||||
import { GeistMono } from 'geist/font/mono'
|
||||
|
||||
|
|
@ -7,6 +6,7 @@ import { cn } from '@/lib/utils'
|
|||
import { TailwindIndicator } from '@/components/tailwind-indicator'
|
||||
import { Providers } from '@/components/providers'
|
||||
import { Header } from '@/components/header'
|
||||
import { Toaster } from '@/components/ui/sonner'
|
||||
|
||||
export const metadata = {
|
||||
metadataBase: new URL(`https://${process.env.VERCEL_URL}`),
|
||||
|
|
@ -43,7 +43,7 @@ export default function RootLayout({ children }: RootLayoutProps) {
|
|||
GeistMono.variable
|
||||
)}
|
||||
>
|
||||
<Toaster />
|
||||
<Toaster position="top-center" />
|
||||
<Providers
|
||||
attribute="class"
|
||||
defaultTheme="system"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue