Skip to content

Commit 2245e91

Browse files
authored
Merge pull request #59 from netlify/fix-state-bug
Don’t kick off loading state when linking to providers
2 parents 598c820 + 3b42b64 commit 2245e91

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/state/store.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,9 @@ store.login = action(function login(email, password) {
8484
});
8585

8686
store.externalLogin = action(function externalLogin(provider) {
87-
store.startAction();
87+
// store.startAction();
88+
store.error = null;
89+
store.message = null;
8890
const url = store.invite_token
8991
? store.gotrue.acceptInviteExternalUrl(provider, store.invite_token)
9092
: store.gotrue.loginExternalUrl(provider);

0 commit comments

Comments
 (0)