Skip to content

Commit 3b42b64

Browse files
committed
Clear flash
1 parent 77c5c13 commit 3b42b64

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/state/store.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,8 @@ store.login = action(function login(email, password) {
8585

8686
store.externalLogin = action(function externalLogin(provider) {
8787
// 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)