Skip to content

Commit

Permalink
fix csr/ssr mismatch
Browse files Browse the repository at this point in the history
  • Loading branch information
ekulno committed Aug 31, 2024
1 parent 0549fda commit e3d2c3f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/GenerateClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ export default <P>(
}
const clientString = data
.replace(
'<div id="root"></div>',
`<div id="root">${app}</div>`,
'<div id="root" style="height: 100vh"></div>',
`<div id="root" style="height: 100vh">${app}</div>`,
)
.replace(
'<head>',
Expand Down

0 comments on commit e3d2c3f

Please sign in to comment.