Skip to content

Commit

Permalink
Merge pull request markfinger#3 from Ppjet6/duplicate-if
Browse files Browse the repository at this point in the history
Removed duplicate if statement
  • Loading branch information
markfinger committed Nov 4, 2015
2 parents 97fd308 + 64f832e commit e0425f0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/Component.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,6 @@ Component.prototype._render = function _render(props, toStaticMarkup, cb) {
this.getFactory(function(err, factory) {
if (err) return cb(err);

if (err) return cb(err);

var render = (
toStaticMarkup ? React.renderToStaticMarkup : React.renderToString
).bind(React);
Expand Down

0 comments on commit e0425f0

Please sign in to comment.