fix: missing env key issue

This commit is contained in:
Karrix
2024-01-14 16:51:38 +08:00
parent babeddc478
commit a27bdf5ea2
2 changed files with 8 additions and 8 deletions
+4 -4
View File
@@ -29,11 +29,11 @@ export default async function RootLayout({
return (
<html lang="en" className="h-full" suppressHydrationWarning>
<head>
{process.env.PLAUSIBLE_DOMAIN && (
{process.env.PLAUSIBLE_DOMAIN && (
<head>
<PlausibleProvider domain={process.env.PLAUSIBLE_DOMAIN} />
)}
</head>
</head>
)}
<body className="flex min-h-full bg-white antialiased dark:bg-zinc-900">
<Providers>
<div className="w-full">