From b832def3f6c56710a314077643562b0b05564b81 Mon Sep 17 00:00:00 2001 From: Li Date: Tue, 13 Feb 2018 10:07:17 -0800 Subject: [PATCH] Fix call to withTracker * withTracker should be used as withTracker(() => {})() * see https://guide.meteor.com/react.html#using-withTracker --- imports/ui/components/LoginForm.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imports/ui/components/LoginForm.jsx b/imports/ui/components/LoginForm.jsx index b3970c9..7b1cb9e 100644 --- a/imports/ui/components/LoginForm.jsx +++ b/imports/ui/components/LoginForm.jsx @@ -1030,6 +1030,6 @@ const LoginFormContainer = withTracker(() => { return ({ user: Accounts.user(), }); -}, LoginForm); +})(LoginForm); Accounts.ui.LoginForm = LoginFormContainer; export default LoginFormContainer