chore(frontend): Add meta title and description (#4265)

This commit is contained in:
sp.wack
2024-10-08 18:04:30 +04:00
committed by GitHub
parent 9d6c1e569d
commit ef3e106543

View File

@@ -1,6 +1,7 @@
import {
Links,
Meta,
MetaFunction,
Outlet,
Scripts,
ScrollRestoration,
@@ -49,6 +50,11 @@ export function Layout({ children }: { children: React.ReactNode }) {
);
}
export const meta: MetaFunction = () => [
{ title: "OpenHands" },
{ name: "description", content: "Let's Start Building!" },
];
export const clientLoader = async () => {
let token = localStorage.getItem("token");
const ghToken = localStorage.getItem("ghToken");