mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-27 01:25:52 -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({
|
||||
render: function () {
|
||||
var validationErrors = defaults(
|
||||
defaultValidationErrors,
|
||||
this.props.validationErrors
|
||||
this.props.validationErrors,
|
||||
defaultValidationErrors
|
||||
);
|
||||
return (
|
||||
<Component {...this.props} validationErrors={validationErrors} />
|
||||
|
|
Loading…
Reference in a new issue