Unverified Commit aafe7154 authored by Oskar Radziewicz's avatar Oskar Radziewicz Committed by GitHub

fix: ensure HTML validity for the `next-size-adjust` meta tag (#72994)

Co-authored-by: 's avatarJiachi Liu <inbox@huozhi.im>
parent 065f2507
...@@ -77,7 +77,9 @@ export function createMetadataComponents({ ...@@ -77,7 +77,9 @@ export function createMetadataComponents({
<ViewportBoundary> <ViewportBoundary>
<Viewport /> <Viewport />
</ViewportBoundary> </ViewportBoundary>
{appUsingSizeAdjustment ? <meta name="next-size-adjust" /> : null} {appUsingSizeAdjustment ? (
<meta name="next-size-adjust" content="" />
) : null}
</> </>
) )
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment