reset deposit amount on token change
This commit is contained in:
parent
969d747a8d
commit
f412b8bee8
|
@ -104,6 +104,8 @@ function DepositModal({ isOpen, onClose, token }: ModalCombinedProps) {
|
|||
)
|
||||
|
||||
const handleSelectToken = (token: string) => {
|
||||
setInputAmount('')
|
||||
setSizePercentage('')
|
||||
setSelectedToken(token)
|
||||
setShowTokenList(false)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue