@oasisprotocol/privana-sdk 0.5.9 → 0.5.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -4463,7 +4463,7 @@ function DepositModalContent({
|
|
|
4463
4463
|
{
|
|
4464
4464
|
selectedTokenId: selectedToken?.id,
|
|
4465
4465
|
onSelect: (id) => {
|
|
4466
|
-
if (id !==
|
|
4466
|
+
if (id !== selectedToken?.id) setAmount("");
|
|
4467
4467
|
setSelectedTokenId(id);
|
|
4468
4468
|
setView("deposit");
|
|
4469
4469
|
}
|
|
@@ -4849,7 +4849,7 @@ function WithdrawModalContent({
|
|
|
4849
4849
|
{
|
|
4850
4850
|
selectedTokenId: selectedToken?.id,
|
|
4851
4851
|
onSelect: (id) => {
|
|
4852
|
-
if (id !==
|
|
4852
|
+
if (id !== selectedToken?.id) setAmount("");
|
|
4853
4853
|
setSelectedTokenId(id);
|
|
4854
4854
|
setView("form");
|
|
4855
4855
|
}
|