use new withdraw fn name
This commit is contained in:
parent
254652ec30
commit
c11783de98
|
@ -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,
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue