@@ -8,6 +8,7 @@ import { usePointCursor } from 'store/pointCursor';
9import * as need from 'lib/need';
9import * as need from 'lib/need';
10import useLifecycle from 'lib/useLifecycle';
10import useLifecycle from 'lib/useLifecycle';
11+import useBlockWindowClose from 'lib/useBlockWindowClose';
12 reticketPointBetweenWallets,
13 reticketPointBetweenWallets,
13 TRANSACTION_PROGRESS,
14 TRANSACTION_PROGRESS,
@@ -60,6 +61,8 @@ export default function PassportTransfer({ className, resetActivateRouter }) {
60 [replaceWith, names]
61 [replaceWith, names]
64+ useBlockWindowClose();
63 const goToRestart = useCallback(() => {
66 const goToRestart = useCallback(() => {
64 // NOTE: because we're already on the ACTIVATE view in the history,
67 // NOTE: because we're already on the ACTIVATE view in the history,
65 // react (intelligently) doesn't trigger a re-render and that means the
68 // react (intelligently) doesn't trigger a re-render and that means the