Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 736eae1

Browse files
committed
updated fix
1 parent 71e9932 commit 736eae1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/structures/auth/Registration.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,8 @@ export default class Registration extends React.Component<IProps, IState> {
148148
}
149149

150150
private unloadCallback = (event: BeforeUnloadEvent) => {
151-
event.preventDefault();
152151
if (this.state.doingUIAuth) {
152+
event.preventDefault();
153153
event.returnValue = "";
154154
return "";
155155
}

0 commit comments

Comments
 (0)