Skip to content

Commit 5bf8f17

Browse files
committed
minor cleanup
1 parent d994332 commit 5bf8f17

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

components/SLDSUtilityIcon/SVG/index.jsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ module.exports = React.createClass({
2323
},
2424

2525
getPaths (data) {
26-
console.log('DATA: ',data);
2726
if(data instanceof Array){
2827
return data.map((item)=>{
2928
return <path {...item} />;
@@ -34,8 +33,7 @@ module.exports = React.createClass({
3433

3534
getSVG (name) {
3635
const data = SLDS_ICONS_UTIL[name.toLowerCase()];
37-
console.log('DATA: ',data);
38-
return <svg className={this.props.className} {...this.props} viewBox={SLDS_ICONS_UTIL.viewBox}>{this.getPaths(data)}</svg>;
36+
return <svg {...this.props} viewBox={SLDS_ICONS_UTIL.viewBox}>{this.getPaths(data)}</svg>;
3937
},
4038

4139
render () {

components/SLDSUtilityIcon/index.jsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
1313

1414
import React from 'react';
1515
import SVG from './SVG';
16-
//import classNames from 'classnames';
1716

1817
module.exports = React.createClass( {
1918

0 commit comments

Comments
 (0)