Skip to content

Fix live withdraw positions loading - #798

Open
mircats98gpt wants to merge 1 commit into
StellarLend:mainfrom
mircats98gpt:codex/live-withdraw-positions-473
Open

mircats98gpt wants to merge 1 commit into
StellarLend:mainfrom
mircats98gpt:codex/live-withdraw-positions-473

Conversation

@mircats98gpt

Copy link
Copy Markdown

Summary

  • fix usePositions live /api/positions loading by threading the abort signal and retry attempt count through the hook
  • expose the stale/offline flags returned by the hook
  • remove a duplicate WalletGate import from WithdrawForm

Validation

  • git diff --check
  • node --experimental-strip-types --check hooks/usePositions.ts

Notes

  • The full test suite could not be run locally because dependency installation is still blocked: npm ci reports an out-of-sync npm lockfile and pnpm install --frozen-lockfile --ignore-scripts timed out before test binaries were available.

Fixes #473

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Wire WithdrawForm position list to live /api/positions instead of DEFAULT_POSITIONS

1 participant