@@ -10,6 +10,7 @@ import * as need from 'lib/need';
10import useLifecycle from 'lib/useLifecycle';
10import useLifecycle from 'lib/useLifecycle';
11import { WALLET_TYPES } from 'lib/wallet';
11import { WALLET_TYPES } from 'lib/wallet';
12import convertToInt from 'lib/convertToInt';
12import convertToInt from 'lib/convertToInt';
13+import useBlockWindowClose from 'lib/useBlockWindowClose';
14import { useNetwork } from 'store/network';
15import { useNetwork } from 'store/network';
15import { useWallet } from 'store/wallet';
16import { useWallet } from 'store/wallet';
@@ -52,6 +53,8 @@ export default function ReticketExecute({ newWallet, setNewWallet }) {
52 const [needFunds, setNeedFunds] = useState();
53 const [needFunds, setNeedFunds] = useState();
53 const isDone = progress >= 1.0;
54 const isDone = progress >= 1.0;
56+ useBlockWindowClose();
55 // start reticketing transactions on mount
58 // start reticketing transactions on mount
56 useLifecycle(() => {
59 useLifecycle(() => {
57 (async () => {
60 (async () => {