Skip to content

Commit 0494826

Browse files
authored
Update LoginForm.jsx
1 parent bcb14de commit 0494826

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

imports/ui/components/LoginForm.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React, { Component } from 'react';
22
import PropTypes from 'prop-types';
33
import ReactDOM from 'react-dom';
4-
import { createContainer } from 'meteor/react-meteor-data';
4+
import { withTracker } from 'meteor/react-meteor-data';
55
import { Accounts } from 'meteor/accounts-base';
66
import { T9n } from 'meteor/softwarerero:accounts-t9n';
77
import { KEY_PREFIX } from '../../login_session.js';
@@ -1024,7 +1024,7 @@ LoginForm.defaultProps = {
10241024

10251025
Accounts.ui.LoginForm = LoginForm;
10261026

1027-
const LoginFormContainer = createContainer(() => {
1027+
const LoginFormContainer = withTracker(() => {
10281028
// Listen for the user to login/logout and the services list to the user.
10291029
Meteor.subscribe('servicesList');
10301030
return ({

0 commit comments

Comments
 (0)