File tree Expand file tree Collapse file tree 2 files changed +8
-30
lines changed Expand file tree Collapse file tree 2 files changed +8
-30
lines changed Original file line number Diff line number Diff line change 1
1
@tailwind base;
2
2
@tailwind components;
3
- @tailwind utilities;
4
-
5
- * ,
6
- html {
7
- margin : 0 ;
8
- padding : 0 ;
9
- box-sizing : border-box;
10
- overflow-x : hidden;
11
- }
3
+ @tailwind utilities;
Original file line number Diff line number Diff line change 1
- "use client" ;
2
-
1
+ "use client"
3
2
import { Inter } from "next/font/google" ;
4
3
import "./globals.css" ;
5
4
import { Provider } from "react-redux" ;
6
5
import store from "@/lib/store" ;
7
- import Head from "next/head" ;
8
6
import { SessionProvider } from "next-auth/react" ;
9
7
import Navbar from "@/components/navbar/Navbar" ;
10
- import { ReactNode } from "react" ;
11
8
12
9
const inter = Inter ( { subsets : [ "latin" ] } ) ;
10
+ import "./globals.css" ;
13
11
14
- interface RootLayoutProps {
15
- children : ReactNode ;
16
- session : any ; // Add session type if known, or replace `any` with the correct type
17
- }
18
-
19
- export default function RootLayout ( { children, session } : RootLayoutProps ) {
12
+ export default function RootLayout ( {
13
+ children,
14
+ session,
15
+ } : Readonly < { children : React . ReactNode , session : any } > ) {
16
+ console . log ( typeof session )
20
17
return (
21
18
< html lang = "en" >
22
- < Head >
23
- < title > SIL 2.0</ title >
24
- < meta
25
- name = "description"
26
- content = "All-in-one platform to create content, generate captions with Al, and schedule your posts on social media!"
27
- />
28
- < meta
29
- name = "viewport"
30
- content = "minimum-scale=1, initial-scale=1, width=device-width"
31
- />
32
- </ Head >
33
19
< body className = { inter . className } >
34
20
< Provider store = { store } >
35
21
< SessionProvider session = { session } refetchInterval = { 2 * 60 } >
You can’t perform that action at this time.
0 commit comments