feat: tRPC API route, client and login page with auth
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import type { Metadata } from 'next'
|
||||
import { Inter } from 'next/font/google'
|
||||
import './globals.css'
|
||||
import TrpcProvider from '@/components/providers/TrpcProvider'
|
||||
|
||||
const inter = Inter({ subsets: ['latin'] })
|
||||
|
||||
@@ -20,7 +21,7 @@ export default function RootLayout({
|
||||
return (
|
||||
<html lang="es" className="dark">
|
||||
<body className={`${inter.className} dark`}>
|
||||
{children}
|
||||
<TrpcProvider>{children}</TrpcProvider>
|
||||
</body>
|
||||
</html>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user