Skip to content

Commit 11c7dc6

Browse files
committed
fix next-head-count warning
1 parent fffd7c3 commit 11c7dc6

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/components/SEO.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,12 +67,11 @@ export const SEO: FunctionComponent<Props> = ({
6767
];
6868
return (
6969
<Head>
70-
<html lang={lang} />
7170
<title>{title}</title>
7271
<Favicons />
7372
<link rel="manifest" href="/static/manifest/manifest.json" />
7473
{meta.map((item, i) => (
75-
<meta key={`meta-${i}`} {...item} />
74+
<meta key={i} {...item} />
7675
))}
7776
</Head>
7877
);

src/pages/_document.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class MyDocument extends Document {
1313
<body>
1414
<Main />
1515
<NextScript />
16-
<script src="https://checkout.razorpay.com/v1/checkout.js" />
16+
<script src="https://checkout.razorpay.com/v1/checkout.js" async />
1717
</body>
1818
</Html>
1919
);

0 commit comments

Comments
 (0)