Skip to content

Commit

Permalink
Fixed faulty duplicate use of componentDidMount in LoginForm.
Browse files Browse the repository at this point in the history
  • Loading branch information
timbrandin committed Jan 6, 2017
1 parent af003de commit 1712703
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .versions
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ session@1.1.5
softwarerero:accounts-t9n@1.3.3
spacebars@1.0.11
spacebars-compiler@1.0.11
std:accounts-ui@1.2.12
std:accounts-ui@1.2.13
tmeasday:check-npm-versions@0.3.0
tracker@1.0.13
ui@1.0.11
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# ChangeLog

### v1.2.13
6-January-2017

* Fixed issue with faulty duplicate use of componentDidMount in LoginForm.

### v1.2.12
6-January-2017

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# React Accounts UI

Current version 1.2.12
Current version 1.2.13

## Features

Expand Down
2 changes: 1 addition & 1 deletion imports/ui/components/LoginForm.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -904,7 +904,7 @@ export class LoginForm extends Tracker.Component {
this.setState({ messages: [] });
}

componentDidMount() {
componentWillMount() {
// XXX Check for backwards compatibility.
const container = document.createElement('div');
ReactDOM.render(<Accounts.ui.Field message="test" />, container);
Expand Down
2 changes: 1 addition & 1 deletion package.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package.describe({
name: 'std:accounts-ui',
version: '1.2.12',
version: '1.2.13',
summary: 'Accounts UI for React in Meteor 1.3+',
git: 'https://github.com/studiointeract/accounts-ui',
documentation: 'README.md'
Expand Down

0 comments on commit 1712703

Please sign in to comment.