Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions imports/ui/components/LoginForm.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -1024,10 +1024,12 @@ LoginForm.defaultProps = {

Accounts.ui.LoginForm = LoginForm;

export default withTracker(() => {
const LoginFormContainer = withTracker(() => {
// Listen for the user to login/logout and the services list to the user.
Meteor.subscribe('servicesList');
return ({
user: Accounts.user(),
});
})(LoginForm);
}, LoginForm);
Accounts.ui.LoginForm = LoginFormContainer;
export default LoginFormContainer