fix: missing env key issue
This commit is contained in:
parent
babeddc478
commit
a27bdf5ea2
@ -36,11 +36,11 @@ export default function RootLayout({
|
||||
<html lang="en">
|
||||
<ClerkProvider>
|
||||
<TooltipProvider>
|
||||
<head>
|
||||
{process.env.PLAUSIBLE_DOMAIN && (
|
||||
{process.env.PLAUSIBLE_DOMAIN && (
|
||||
<head>
|
||||
<PlausibleProvider domain={process.env.PLAUSIBLE_DOMAIN} />
|
||||
)}
|
||||
</head>
|
||||
</head>
|
||||
)}
|
||||
<body className={inter.className}>
|
||||
<main className="w-full flex min-h-[100dvh] flex-col items-center justify-start">
|
||||
<div className="z-[-1] fixed h-full w-full bg-white">
|
||||
|
@ -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">
|
||||
|
Loading…
x
Reference in New Issue
Block a user