Skip to content

Commit

Permalink
updated fix
Browse files Browse the repository at this point in the history
  • Loading branch information
yaya-usman committed Apr 29, 2022
1 parent 71e9932 commit 736eae1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/structures/auth/Registration.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,8 @@ export default class Registration extends React.Component<IProps, IState> {
}

private unloadCallback = (event: BeforeUnloadEvent) => {
event.preventDefault();
if (this.state.doingUIAuth) {
event.preventDefault();
event.returnValue = "";
return "";
}
Expand Down

0 comments on commit 736eae1

Please sign in to comment.