Skip to content

Commit 4bb989d

Browse files
committed
Add dev stuff & fix nav issues
1 parent ed0e7de commit 4bb989d

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

apps/web/src/app/layout.tsx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,14 @@ export default function RootLayout({
3939
}>) {
4040
return (
4141
<html lang="en" suppressHydrationWarning>
42+
{process.env.NODE_ENV === "development" && (
43+
<head>
44+
<script
45+
crossOrigin="anonymous"
46+
src="//unpkg.com/react-scan/dist/auto.global.js"
47+
/>
48+
</head>
49+
)}
4250
<body
4351
className={`${geistSans.variable} ${geistMono.variable} ${archivoBlack.variable} antialiased`}
4452
>

apps/web/src/components/navigation.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ function UserMenu() {
9292
</DropdownMenuTrigger>
9393
<DropdownMenuContent className="bg-card">
9494
<DropdownMenuLabel asChild>
95-
<Link href={`/user/${session.user.id}`}>
95+
<Link href={`/user/${session.user.id}`} className="w-full">
9696
<Button variant="outline" className="w-full">
9797
Your Account
9898
</Button>

0 commit comments

Comments
 (0)