Skip to content

Commit 3554071

Browse files
committed
Cleanup
Remove commented out code
1 parent 32db7c9 commit 3554071

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/index.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,6 @@ export default function renderToString(vnode, context, opts, inner) {
148148

149149
s += '>';
150150

151-
// if (pretty) s += '\n' + indentChar;
152-
153151
if (html) {
154152
// if multiline, indent.
155153
if (pretty && isLargeString(html)) {
@@ -166,11 +164,6 @@ export default function renderToString(vnode, context, opts, inner) {
166164
let child = children[i];
167165
if (!falsey(child)) {
168166
let ret = renderToString(child, context, opts, true);
169-
// if (pretty && isLargeString(ret)) {
170-
// if (pretty && isLargeString(ret)) {
171-
// ret = '\n' + indentChar + indent(ret);
172-
// }
173-
//s += ret;
174167
if (!hasLarge && pretty && isLargeString(ret)) hasLarge = true;
175168
pieces.push(ret);
176169
}

0 commit comments

Comments
 (0)