Skip to content

Commit cf0f7c2

Browse files
committed
1 parent 1e8b8d8 commit cf0f7c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ class SvgUri extends Component{
143143

144144
// Remove empty strings from children array
145145
trimElementChilden(children) {
146-
for (child of children) {
146+
for (let child of children) {
147147
if (typeof child === 'string') {
148148
if (child.trim.length === 0)
149149
children.splice(children.indexOf(child), 1);

0 commit comments

Comments
 (0)