Skip to content

Commit

Permalink
fix: remix spa #988
Browse files Browse the repository at this point in the history
  • Loading branch information
Aslemammad authored Mar 9, 2024
1 parent ac0a0de commit 2d53c8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-server/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ export const createSSRBoundary = <P extends MillionProps>(
}
: {
dangerouslySetInnerHTML: {
__html: document.getElementById(id)!.innerHTML,
__html: document.getElementById(id)?.innerHTML || "",
},
};
if (ssrElementsMap.has(id)) {
Expand Down

0 comments on commit 2d53c8c

Please sign in to comment.