mirror of
https://github.com/vale981/accounts-ui
synced 2025-03-04 17:31:41 -05:00
Update LoginForm.jsx
This commit is contained in:
parent
bcb14de3f7
commit
049482609f
1 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
import React, { Component } from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import ReactDOM from 'react-dom';
|
||||
import { createContainer } from 'meteor/react-meteor-data';
|
||||
import { withTracker } from 'meteor/react-meteor-data';
|
||||
import { Accounts } from 'meteor/accounts-base';
|
||||
import { T9n } from 'meteor/softwarerero:accounts-t9n';
|
||||
import { KEY_PREFIX } from '../../login_session.js';
|
||||
|
@ -1024,7 +1024,7 @@ LoginForm.defaultProps = {
|
|||
|
||||
Accounts.ui.LoginForm = LoginForm;
|
||||
|
||||
const LoginFormContainer = createContainer(() => {
|
||||
const LoginFormContainer = withTracker(() => {
|
||||
// Listen for the user to login/logout and the services list to the user.
|
||||
Meteor.subscribe('servicesList');
|
||||
return ({
|
||||
|
|
Loading…
Add table
Reference in a new issue