We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5b30fbf commit e12fe87Copy full SHA for e12fe87
packages/svelte/src/internal/client/render.js
@@ -55,7 +55,7 @@ export function set_text(text, value) {
55
if (str !== (text.__t ??= text.nodeValue)) {
56
// @ts-expect-error
57
text.__t = str;
58
- text.nodeValue = str == null ? '' : str + '';
+ text.nodeValue = str + '';
59
}
60
61
0 commit comments