Commit fdb131b
committed
fix(remix): resolve hydration error by wrapping app in layout
The root App component was missing the Layout wrapper, causing a mismatch between the server-rendered and client-rendered HTML. This resulted in a React hydration error.
This change wraps the Outlet in the Layout component to ensure the base HTML structure is consistent, resolving the hydration failure.1 parent 4cfc5e3 commit fdb131b
1 file changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
36 | 40 | | |
37 | 41 | | |
38 | 42 | | |
| |||
0 commit comments