mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-27 09:35:56 -05:00
Merge pull request #632 from mewtaylor/issue/gh-618-login-style
Fix GH-617: switch ordering in defaults
This commit is contained in:
commit
1045e6219e
1 changed files with 2 additions and 2 deletions
|
@ -29,8 +29,8 @@ module.exports.validationHOCFactory = function (defaultValidationErrors) {
|
||||||
var ValidatedComponent = React.createClass({
|
var ValidatedComponent = React.createClass({
|
||||||
render: function () {
|
render: function () {
|
||||||
var validationErrors = defaults(
|
var validationErrors = defaults(
|
||||||
defaultValidationErrors,
|
this.props.validationErrors,
|
||||||
this.props.validationErrors
|
defaultValidationErrors
|
||||||
);
|
);
|
||||||
return (
|
return (
|
||||||
<Component {...this.props} validationErrors={validationErrors} />
|
<Component {...this.props} validationErrors={validationErrors} />
|
||||||
|
|
Loading…
Reference in a new issue