Skip to content

Commit 1725eb4

Browse files
committed
refactor: remove suppressHydrationWarning for ViewTransition
Seems the hydration issue has been fixed in Next.js 16. Ref: 71c38b0
1 parent f3f802c commit 1725eb4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/(app)/layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export default function Layout({ children }: { children: React.ReactNode }) {
1212
<AppShell>
1313
<div className="mx-auto w-full max-w-7xl flex-1 p-3">
1414
<ViewTransition name="app-content">
15-
<div suppressHydrationWarning>{children}</div>
15+
{children}
1616
</ViewTransition>
1717
</div>
1818
</AppShell>

0 commit comments

Comments
 (0)