Skip to content

Commit

Permalink
Streaming: meta charSet=utf-8 (#9142)
Browse files Browse the repository at this point in the history
Without this html entities like `×` would render differently on
the server vs the client and cause react rehydration errors
  • Loading branch information
Tobbe authored Sep 8, 2023
1 parent 6340990 commit 050a169
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ export const Document: React.FC<DocumentProps> = ({ children, css, meta }) => {
return (
<html lang="en">
<head>
<meta charSet="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="icon" type="image/png" href="/favicon.png" />
<Css css={css} />
Expand Down

0 comments on commit 050a169

Please sign in to comment.