summaryrefslogtreecommitdiff
path: root/src/app/layout.tsx
blob: 933e3085cf839046988cf40a9b4734c49f4dd5cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
import type { Metadata } from 'next'
import '@/common/styles/globals.css'
import clsxm from '@/common/libs/clsxm'
import { inter } from '@/common/styles/fonts'
import UIProvider from '@/common/contexts/UIProvider'
import QueryProvider from '@/common/contexts/QueryProvider'
import { Toaster } from 'react-hot-toast'

export const metadata: Metadata = {
  title: 'FIN Stock Opname',
  description: 'FIN Stock Opname',
  viewport: 'width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0',
}

export default function RootLayout({
  children,
}: {
  children: React.ReactNode
}) {
  return (
    <html lang="en">
      <body className={clsxm(inter.variable)}>
        <Toaster />
        <UIProvider>
          <QueryProvider>
            {children}
          </QueryProvider>
        </UIProvider>
      </body>
    </html>
  )
}