aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend/app/root.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/app/root.tsx')
-rw-r--r--frontend/app/root.tsx44
1 files changed, 22 insertions, 22 deletions
diff --git a/frontend/app/root.tsx b/frontend/app/root.tsx
index 9768f45..58a06dd 100644
--- a/frontend/app/root.tsx
+++ b/frontend/app/root.tsx
@@ -1,35 +1,35 @@
import type { LinksFunction } from "@remix-run/node";
import {
- Links,
- Meta,
- Outlet,
- Scripts,
- ScrollRestoration,
+ Links,
+ Meta,
+ Outlet,
+ Scripts,
+ ScrollRestoration,
} from "@remix-run/react";
import "./tailwind.css";
export const links: LinksFunction = () => {
- return [{ rel: "icon", href: "/favicon.svg" }];
+ return [{ rel: "icon", href: "/favicon.svg" }];
};
export function Layout({ children }: { children: React.ReactNode }) {
- return (
- <html lang="en">
- <head>
- <meta charSet="utf-8" />
- <meta name="viewport" content="width=device-width, initial-scale=1" />
- <Meta />
- <Links />
- </head>
- <body>
- {children}
- <ScrollRestoration />
- <Scripts />
- </body>
- </html>
- );
+ return (
+ <html lang="en">
+ <head>
+ <meta charSet="utf-8" />
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
+ <Meta />
+ <Links />
+ </head>
+ <body>
+ {children}
+ <ScrollRestoration />
+ <Scripts />
+ </body>
+ </html>
+ );
}
export default function App() {
- return <Outlet />;
+ return <Outlet />;
}