Skip to content

Commit

Permalink
fix linter errors (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
ananavati authored Dec 2, 2016
1 parent da43984 commit b34dd7f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const style = {
};

const Legacy = (props) => (
<pre style={style} dangerouslySetInnerHTML={ {__html: props.legacy} }></pre>
<pre style={style} dangerouslySetInnerHTML={{__html: props.legacy}} />
);

Legacy.propTypes = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ const WarningsErrors = (props) => {
<CardHeader showExpandableButton={true} actAsExpander={true} subtitle="Warnings and Errors"/>
<CardText expandable={true} style={ {background: "black", color: "gray"} }>
{props.warnings.map((e, i) => (
<pre key={i} dangerouslySetInnerHTML={ {__html: e} }></pre>
<pre key={i} dangerouslySetInnerHTML={ {__html: e} } />
))}
</CardText>
<CardText expandable={true} style={ {background: "black", color: "gray"} }>
{props.errors.map((e, i) => (
<pre key={i} dangerouslySetInnerHTML={ {__html: e} }></pre>
<pre key={i} dangerouslySetInnerHTML={ {__html: e} } />
))}
</CardText>
</Card>
Expand Down

0 comments on commit b34dd7f

Please sign in to comment.