|
1 |
| -import "@fuels/ui/styles.css"; |
2 |
| -import "./globals.css"; |
| 1 | +import '@fuels/ui/styles.css'; |
| 2 | +import './globals.css'; |
3 | 3 |
|
4 |
| -import { GeistMono } from "geist/font/mono"; |
5 |
| -import { GeistSans } from "geist/font/sans"; |
6 |
| -import type { Metadata } from "next"; |
7 |
| -import { cookies } from "next/headers"; |
8 |
| -import { Layout } from "~/systems/Core/components/Layout/Layout"; |
9 |
| -import { Provider } from "~/systems/Core/components/Provider"; |
10 |
| -import { cx } from "~/systems/Core/utils/cx"; |
11 |
| -import Script from "next/script"; |
| 4 | +import { GeistMono } from 'geist/font/mono'; |
| 5 | +import { GeistSans } from 'geist/font/sans'; |
| 6 | +import type { Metadata } from 'next'; |
| 7 | +import { cookies } from 'next/headers'; |
| 8 | +import Script from 'next/script'; |
| 9 | +import { Layout } from '~/systems/Core/components/Layout/Layout'; |
| 10 | +import { Provider } from '~/systems/Core/components/Provider'; |
| 11 | +import { cx } from '~/systems/Core/utils/cx'; |
12 | 12 |
|
13 | 13 | export const metadata: Metadata = {
|
14 |
| - title: "Fuel Explorer", |
15 |
| - description: "Explorer of the Fastest execution layer", |
| 14 | + title: 'Fuel Explorer', |
| 15 | + description: 'Explorer of the Fastest execution layer', |
16 | 16 | };
|
17 | 17 |
|
18 | 18 | export default function RootLayout({
|
19 | 19 | children,
|
20 | 20 | }: {
|
21 | 21 | children: React.ReactNode;
|
22 | 22 | }) {
|
23 |
| - const { value: theme } = cookies().get("fuel-theme") ?? { value: "dark" }; |
| 23 | + const { value: theme } = cookies().get('fuel-theme') ?? { value: 'dark' }; |
24 | 24 | //const theme = "dark"; // Initial default theme
|
25 |
| - console.log(`theme`, theme); |
| 25 | + console.log('theme', theme); |
26 | 26 | return (
|
27 | 27 | <html
|
28 | 28 | suppressHydrationWarning
|
|
0 commit comments