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">
|
<html lang="en">
|
||||||
<ClerkProvider>
|
<ClerkProvider>
|
||||||
<TooltipProvider>
|
<TooltipProvider>
|
||||||
<head>
|
|
||||||
{process.env.PLAUSIBLE_DOMAIN && (
|
{process.env.PLAUSIBLE_DOMAIN && (
|
||||||
|
<head>
|
||||||
<PlausibleProvider domain={process.env.PLAUSIBLE_DOMAIN} />
|
<PlausibleProvider domain={process.env.PLAUSIBLE_DOMAIN} />
|
||||||
)}
|
|
||||||
</head>
|
</head>
|
||||||
|
)}
|
||||||
<body className={inter.className}>
|
<body className={inter.className}>
|
||||||
<main className="w-full flex min-h-[100dvh] flex-col items-center justify-start">
|
<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">
|
<div className="z-[-1] fixed h-full w-full bg-white">
|
||||||
|
@ -29,11 +29,11 @@ export default async function RootLayout({
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<html lang="en" className="h-full" suppressHydrationWarning>
|
<html lang="en" className="h-full" suppressHydrationWarning>
|
||||||
<head>
|
|
||||||
{process.env.PLAUSIBLE_DOMAIN && (
|
{process.env.PLAUSIBLE_DOMAIN && (
|
||||||
|
<head>
|
||||||
<PlausibleProvider domain={process.env.PLAUSIBLE_DOMAIN} />
|
<PlausibleProvider domain={process.env.PLAUSIBLE_DOMAIN} />
|
||||||
)}
|
|
||||||
</head>
|
</head>
|
||||||
|
)}
|
||||||
<body className="flex min-h-full bg-white antialiased dark:bg-zinc-900">
|
<body className="flex min-h-full bg-white antialiased dark:bg-zinc-900">
|
||||||
<Providers>
|
<Providers>
|
||||||
<div className="w-full">
|
<div className="w-full">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user