Skip to content

Commit aa9a323

Browse files
committed
fix(app): suppress root theme hydration warning
1 parent 117264d commit aa9a323

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/src/routes/__root.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export const Route = createRootRouteWithContext<MyRouterContext>()({
5959

6060
function RootDocument({ children }: { children: React.ReactNode }) {
6161
return (
62-
<html lang="en" className="dark">
62+
<html lang="en" className="dark" suppressHydrationWarning>
6363
<head>
6464
<HeadContent />
6565
{/* Pre-paint theme (#107): correct the SSR'd `dark` class before first

0 commit comments

Comments
 (0)