use new withdraw fn name

This commit is contained in:
tjs 2022-06-10 14:24:29 -04:00
parent 254652ec30
commit c11783de98
2 changed files with 3 additions and 2 deletions

View File

@ -22,7 +22,7 @@ function WithdrawModal({ isOpen, onClose }: WithdrawModalProps) {
const actions = mangoStore.getState().actions
if (!mangoAccount || !group) return
setSubmitting(true)
const tx = await client.withdraw(
const tx = await client.tokenWithdraw(
group,
mangoAccount,
selectedToken,

View File

@ -6,7 +6,8 @@
"dev": "rm -rf .next && next dev",
"build": "next build",
"start": "next start",
"lint": "next lint"
"lint": "next lint",
"typecheck": "tsc"
},
"dependencies": {
"@blockworks-foundation/mango-v4": "git+https://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:x-oauth-basic@github.com/blockworks-foundation/mango-v4.git#dev",