mirror of
https://github.com/vale981/accounts-ui
synced 2025-03-04 17:31:41 -05:00
Fix for the UI component calling the createContainer and assigning it to the LoginForm
This commit is contained in:
parent
87d531dbaa
commit
bcb14de3f7
1 changed files with 3 additions and 1 deletions
|
@ -1024,10 +1024,12 @@ LoginForm.defaultProps = {
|
|||
|
||||
Accounts.ui.LoginForm = LoginForm;
|
||||
|
||||
export default createContainer(() => {
|
||||
const LoginFormContainer = createContainer(() => {
|
||||
// Listen for the user to login/logout and the services list to the user.
|
||||
Meteor.subscribe('servicesList');
|
||||
return ({
|
||||
user: Accounts.user(),
|
||||
});
|
||||
}, LoginForm);
|
||||
Accounts.ui.LoginForm = LoginFormContainer;
|
||||
export default LoginFormContainer
|
||||
|
|
Loading…
Add table
Reference in a new issue