diff --git a/routes/_app.tsx b/routes/_app.tsx index af7eac4..0adf36f 100644 --- a/routes/_app.tsx +++ b/routes/_app.tsx @@ -1,11 +1,9 @@ +// deno-lint-ignore-file react-no-danger import { PageProps } from "$fresh/server.ts"; import { Partial } from "$fresh/runtime.ts"; -import { useEffect } from "preact/hooks"; export default function App({ Component }: PageProps) { - const globalCss = Deno - .readTextFileSync("./static/global.css") - .replaceAll("\n", ""); + const globalCss = Deno.readTextFileSync("./static/global.css"); return ( @@ -21,7 +19,19 @@ export default function App({ Component }: PageProps) { - + + +