Skip to content

Commit 7269247

Browse files
authored
change css loading to try and fix sourcemap error (#6)
1 parent 5dc01ab commit 7269247

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

frontend/src/routes/__root.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import { TanStackRouterDevtools } from "@tanstack/react-router-devtools";
1010
import { DefaultCatchBoundary } from "~/components/DefaultCatchBoundary";
1111
import Navbar from "~/components/Navbar";
1212
import { NotFound } from "~/components/NotFound";
13-
import appCss from "~/styles/app.css?url";
1413
import { seo } from "~/utils/seo";
1514
import { ThemeProvider, initialTheme } from "../components/ThemeProvider";
1615
import { MotionConfig } from "framer-motion";
@@ -33,7 +32,7 @@ export const Route = createRootRoute({
3332
],
3433
scripts: [initialTheme()],
3534
links: [
36-
{ rel: "stylesheet", href: appCss },
35+
{ rel: "stylesheet", href: "~styles/app.css?url" },
3736
{
3837
rel: "apple-touch-icon",
3938
sizes: "180x180",

0 commit comments

Comments
 (0)