We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d179e1f commit b7e762aCopy full SHA for b7e762a
src/components/PositionManager/PositionManager.tsx
@@ -487,8 +487,10 @@ export const PositionManager: FC<PositionManagerProps> = ({
487
}
488
);
489
490
- router.replace(`/${network}/positions`);
491
toast("Position ownership transferred");
+ await new Promise((resolve) => setTimeout(resolve, 3000));
492
+ refetchState();
493
+ router.replace(`/${network}/positions`);
494
} catch (e: any) {
495
if (!(e instanceof WalletSignTransactionError)) {
496
toast(e.message || "Transfer failed, please try again");
0 commit comments