Skip to content

Commit b7e762a

Browse files
committed
Slight bugfix
1 parent d179e1f commit b7e762a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/components/PositionManager/PositionManager.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -487,8 +487,10 @@ export const PositionManager: FC<PositionManagerProps> = ({
487487
}
488488
);
489489

490-
router.replace(`/${network}/positions`);
491490
toast("Position ownership transferred");
491+
await new Promise((resolve) => setTimeout(resolve, 3000));
492+
refetchState();
493+
router.replace(`/${network}/positions`);
492494
} catch (e: any) {
493495
if (!(e instanceof WalletSignTransactionError)) {
494496
toast(e.message || "Transfer failed, please try again");

0 commit comments

Comments
 (0)