@@ -57,7 +57,7 @@ function AdminCancelTransfer() {
5757 const { getDetails } = usePointCache();
5858 const { point } = useRollerStore();
5959 const { setProxyAddress, checkForUpdates } = useRoller();
60− const { pointCursor } = usePointCursor();
60+ const { pointCursor, setPointCursor } = usePointCursor();
6161 const _point = need.point(pointCursor);
6262
6363 const name = useCurrentPointName();
@@ -71,11 +71,16 @@ function AdminCancelTransfer() {
7171 }
7272 }, [completed]); // eslint-disable-line react-hooks/exhaustive-deps
7373
74+ const goBack = useCallback(() => {
75+ pop();
76+ setPointCursor(Nothing());
77+ }, [pop, setPointCursor]);
78+
7479 const cancelTransfer = useCallback(async () => {
7580 await setProxyAddress('transfer', ETH_ZERO_ADDR);
76− checkForUpdates(point.value, `${point.patp} transfer cancelled`);
77− pop();
78− }, [setProxyAddress, pop, checkForUpdates, point]);
81+ await checkForUpdates(point.value, `${point.patp} transfer cancelled`);
82+ goBack();
83+ }, [setProxyAddress, goBack, checkForUpdates, point]);
7984
8085 const formattedName = <span className="mono">{name}</span>;
8186 const formattedProxy = <span className="mono">{_details.transferProxy}</span>;
@@ -119,7 +124,7 @@ function AdminCancelTransfer() {
119124 full
120125 as={InlineEthereumTransaction}
121126 {...bind}
122− onReturn={() => pop()}
127+ onReturn={() => goBack()}
123128 />
124129 )}
125130 </BodyPane>