Skip to content

Conversation

@0xAlunara
Copy link
Collaborator

@0xAlunara 0xAlunara commented Nov 8, 2025

The loansStatesMapper was literally only used in createLoanRepaySlice. I've quickly inlined the only relevant function call with

let userState: UserLoanState
try {
  userState = { ...(await market.userState()), error: '' }
} catch (error) {
  userState = { collateral: '', borrowed: '', debt: '', N: '', error }
}

couldn't be bothered with writing a query or function for this one use case

@vercel
Copy link

vercel bot commented Nov 8, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
curve-dapp Ready Ready Preview Comment Nov 8, 2025 6:03pm
curve-dapp-storybook Ready Ready Preview Comment Nov 8, 2025 6:03pm

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.

2 participants