fix: Micro-fixes: dead comment, timer null, AbortController, address guard, catch reset (#261)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
95955f23a3
commit
d1d943e5fd
3 changed files with 7 additions and 0 deletions
|
|
@ -189,6 +189,7 @@ export async function loadActivePositions(chainId: number, endpointOverride?: st
|
|||
// since GraphQL returns them as numeric strings
|
||||
|
||||
export async function loadMyClosedPositions(chainId: number, endpointOverride: string | undefined, account: GetAccountReturnType) {
|
||||
if (!account.address) return [];
|
||||
const targetEndpoint = resolveGraphqlEndpoint(chainId, endpointOverride);
|
||||
logger.info(`loadMyClosedPositions for chainId: ${chainId}`);
|
||||
const res = await axios.post(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue