We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2cd274b + b4943b5 commit bf62b5eCopy full SHA for bf62b5e
junction-app/components/AppChrome.tsx
@@ -1,4 +1,4 @@
1
-'use client';
+"use client";
2
3
import { usePathname } from "next/navigation";
4
import Nav from "@/components/Nav";
@@ -11,9 +11,7 @@ export function AppChrome({ children }: AppChromeProps) {
11
const pathname = usePathname();
12
const isLanding = pathname === "/";
13
14
- const theme = isLanding
15
- ? "bg-zinc-950 text-white"
16
- : "bg-white text-zinc-900";
+ const theme = isLanding ? "bg-zinc-950 text-white" : "bg-white text-zinc-900";
17
18
return (
19
<div className={`${theme} min-h-screen`}>
0 commit comments