Skip to content
This repository was archived by the owner on Sep 9, 2024. It is now read-only.

Commit 1d5e964

Browse files
committed
Update layout.tsx
1 parent 7a15f98 commit 1d5e964

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/app/admin/layout.tsx

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import Head from "next/head";
1+
import Script from "next/script";
22
import type { FC, PropsWithChildren } from "react";
33

44
export const metadata = {
@@ -8,9 +8,7 @@ export const metadata = {
88
const AdminLayout: FC<PropsWithChildren> = ({ children }) => {
99
return (
1010
<html lang="en">
11-
<Head>
12-
<script src="https://identity.netlify.com/v1/netlify-identity-widget.js" async />
13-
</Head>
11+
<Script src="https://identity.netlify.com/v1/netlify-identity-widget.js" async />
1412
<body>{children}</body>
1513
</html>
1614
);

0 commit comments

Comments
 (0)