Skip to content

Commit 2d53c8c

Browse files
authored
fix: remix spa #988
1 parent ac0a0de commit 2d53c8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-server/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ export const createSSRBoundary = <P extends MillionProps>(
232232
}
233233
: {
234234
dangerouslySetInnerHTML: {
235-
__html: document.getElementById(id)!.innerHTML,
235+
__html: document.getElementById(id)?.innerHTML || "",
236236
},
237237
};
238238
if (ssrElementsMap.has(id)) {

0 commit comments

Comments
 (0)