Skip to content

Commit

Permalink
Cleanup console warnings
Browse files Browse the repository at this point in the history
The this.props.children warning details can be found here:
jsx-eslint/eslint-plugin-react#7 (comment)
  • Loading branch information
shorttompkins committed Sep 23, 2015
1 parent 0fd1142 commit ccb363d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion client-flux/js/components/cart/cart.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ var Cart = React.createClass({
</tbody>
<tfoot>
<tr>
<td colspan="4" align="right">Total</td>
<td colSpan="4" align="right">Total</td>
<td align="right">${total}</td>
</tr>
</tfoot>
Expand Down
2 changes: 1 addition & 1 deletion client/js/components/cart/cart.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ let Cart = React.createClass({
</tbody>
<tfoot>
<tr>
<td colspan="4" align="right">Total</td>
<td colSpan="4" align="right">Total</td>
<td align="right">${total}</td>
</tr>
</tfoot>
Expand Down
2 changes: 1 addition & 1 deletion client/js/components/layout/template.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class Template extends React.Component {
}

Template.propTypes = {
children: React.PropTypes.array
children: React.PropTypes.node
};

export default Template;

0 comments on commit ccb363d

Please sign in to comment.