Skip to content
This repository has been archived by the owner on Jan 6, 2024. It is now read-only.

Commit

Permalink
Clear 'message sent' state if email changes
Browse files Browse the repository at this point in the history
  • Loading branch information
MrXyfir committed Mar 26, 2019
1 parent 9d511f4 commit a84d79e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/components/Unauthenticated.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export class _Unauthenticated extends React.Component<

onChangeEmail(email: string) {
clearTimeout(this.timeout);
this.setState({ email });
this.setState({ email, passwordless: false, registered: false });

if (this.state.create) {
this.timeout = setTimeout(
Expand Down

0 comments on commit a84d79e

Please sign in to comment.