Trying to fix warning
This commit is contained in:
@@ -34,7 +34,7 @@ export default function RootLayout({
|
|||||||
children: React.ReactNode;
|
children: React.ReactNode;
|
||||||
}>) {
|
}>) {
|
||||||
return (
|
return (
|
||||||
<html lang="en" suppressHydrationWarning>
|
<html lang="en">
|
||||||
{process.env.NODE_ENV === "production" && (
|
{process.env.NODE_ENV === "production" && (
|
||||||
<Script src="https://scripts.simpleanalyticscdn.com/latest.js" />
|
<Script src="https://scripts.simpleanalyticscdn.com/latest.js" />
|
||||||
)}
|
)}
|
||||||
|
@@ -1,8 +1,4 @@
|
|||||||
import {
|
import { EnvelopeIcon, MegaphoneIcon } from "@heroicons/react/24/solid";
|
||||||
RocketLaunchIcon,
|
|
||||||
EnvelopeIcon,
|
|
||||||
MegaphoneIcon,
|
|
||||||
} from "@heroicons/react/24/solid";
|
|
||||||
import {
|
import {
|
||||||
Heading1,
|
Heading1,
|
||||||
Heading2,
|
Heading2,
|
||||||
@@ -17,7 +13,6 @@ import {
|
|||||||
import { formatDate } from "date-fns";
|
import { formatDate } from "date-fns";
|
||||||
import { TextWithCopyButton } from "@unsend/ui/src/text-with-copy";
|
import { TextWithCopyButton } from "@unsend/ui/src/text-with-copy";
|
||||||
import Link from "next/link";
|
import Link from "next/link";
|
||||||
import Image from "next/image";
|
|
||||||
import IntegrationCode from "./IntegrationCode";
|
import IntegrationCode from "./IntegrationCode";
|
||||||
import {
|
import {
|
||||||
GithubStarButton,
|
GithubStarButton,
|
||||||
@@ -126,7 +121,10 @@ export default function Home() {
|
|||||||
Sent
|
Sent
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div className="text-xs text-muted-foreground mt-2">
|
<div
|
||||||
|
className="text-xs text-muted-foreground mt-2"
|
||||||
|
suppressHydrationWarning
|
||||||
|
>
|
||||||
{formatDate(Date.now() - 100000, "MMM dd, hh:mm a")}
|
{formatDate(Date.now() - 100000, "MMM dd, hh:mm a")}
|
||||||
</div>
|
</div>
|
||||||
<div className="mt-1 text-primary/80">
|
<div className="mt-1 text-primary/80">
|
||||||
@@ -155,7 +153,10 @@ export default function Home() {
|
|||||||
Delivered
|
Delivered
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div className="text-xs text-muted-foreground mt-2">
|
<div
|
||||||
|
className="text-xs text-muted-foreground mt-2"
|
||||||
|
suppressHydrationWarning
|
||||||
|
>
|
||||||
{formatDate(new Date(), "MMM dd, hh:mm a")}
|
{formatDate(new Date(), "MMM dd, hh:mm a")}
|
||||||
</div>
|
</div>
|
||||||
<div className="mt-1 text-primary/80">
|
<div className="mt-1 text-primary/80">
|
||||||
|
Reference in New Issue
Block a user