Skip to content

Commit

Permalink
Updated Readme.
Browse files Browse the repository at this point in the history
  • Loading branch information
timbrandin committed Jan 7, 2017
1 parent e3c5ed4 commit 7309087
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ Accounts.ui.config({
importAccounts, STATES } from 'meteor/std:accounts-ui';

<Accounts.ui.LoginForm
state=STATES.SIGN_IN }
onSignedInHook={ () => console.log('user signed in') }
/>
```
Expand Down Expand Up @@ -196,7 +195,7 @@ Meteor.startup( () => {
<Router history={ browserHistory }>
<Route path="/" component={ App }>
<IndexRoute component={ Index } />
<Route path="/signin" component={() => <Accounts.ui.LoginForm formState={STATES.SIGN_IN} />} />
<Route path="/signin" component={() => <Accounts.ui.LoginForm />} />
<Route path="/signup" component={() => <Accounts.ui.LoginForm formState={STATES.SIGN_UP} />} />
<Route path="/hello/:name" component={ Hello } />
</Route>
Expand Down Expand Up @@ -321,7 +320,6 @@ FlowRouter.route("/login", {
action(params) {
mount(MainLayout, {
content: <Accounts.ui.LoginForm {...{
formState: STATES.SIGN_IN,
signUpPath: '/signup'
}} />
});
Expand Down

0 comments on commit 7309087

Please sign in to comment.