From 5929c0e7b06293aa3fd6da5458df47912169e301 Mon Sep 17 00:00:00 2001 From: eps1lon Date: Wed, 5 Jun 2024 11:10:50 +0200 Subject: [PATCH] Add missing `key` to default head --- packages/next/src/shared/lib/head.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/next/src/shared/lib/head.tsx b/packages/next/src/shared/lib/head.tsx index 978dfd8401f13..b116b2f32851d 100644 --- a/packages/next/src/shared/lib/head.tsx +++ b/packages/next/src/shared/lib/head.tsx @@ -12,9 +12,11 @@ type WithInAmpMode = { } export function defaultHead(inAmpMode = false): JSX.Element[] { - const head = [] + const head = [] if (!inAmpMode) { - head.push() + head.push( + + ) } return head }