Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/pages/_document.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@ const ANALYTICS_ENABLED =

export default function Document() {
return (
<Html lang="en">
// suppressHydrationWarning: getOcThemeInitScript() + next-themes set the
// skin/mode class + data-oc-theme on <html> before React hydrates, which
// is an intentional client/server attribute divergence.
<Html lang="en" suppressHydrationWarning>
<Head>
{/* Favicons · sourced from github.com/orangecheck/oc-media-kit
(dist/docs/favicon/*). Regenerate via the kit then
Expand Down