Skip to content

Commit 5a5e83f

Browse files
chore: formatting
1 parent 8627862 commit 5a5e83f

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/index.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -346,9 +346,7 @@ function _renderToString(
346346
// Fragments are the least used components of core that's why
347347
// branching here for comments has the least effect on perf.
348348
return '<!--' + encodeEntities(props.UNSTABLE_comment) + '-->';
349-
}
350-
351-
if (props.dangerouslySetInnerHTML) {
349+
} else if (props.dangerouslySetInnerHTML) {
352350
let html = props.dangerouslySetInnerHTML.__html || '';
353351
return '<!--$h-->' + html + '<!--/$h-->';
354352
}

0 commit comments

Comments
 (0)