We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 27d44f0 commit bf89f38Copy full SHA for bf89f38
index.js
@@ -151,7 +151,7 @@ class SvgUri extends Component{
151
152
// Remove empty strings from children array
153
trimElementChilden(children) {
154
- for (child of children) {
+ for (let child of children) {
155
if (typeof child === 'string') {
156
if (child.trim().length === 0)
157
children.splice(children.indexOf(child), 1);
0 commit comments