@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.js
CHANGED
|
@@ -4442,7 +4442,7 @@ function DepositModalContent({
|
|
|
4442
4442
|
{
|
|
4443
4443
|
selectedTokenId: selectedToken?.id,
|
|
4444
4444
|
onSelect: (id) => {
|
|
4445
|
-
if (id !==
|
|
4445
|
+
if (id !== selectedToken?.id) setAmount("");
|
|
4446
4446
|
setSelectedTokenId(id);
|
|
4447
4447
|
setView("deposit");
|
|
4448
4448
|
}
|
|
@@ -4828,7 +4828,7 @@ function WithdrawModalContent({
|
|
|
4828
4828
|
{
|
|
4829
4829
|
selectedTokenId: selectedToken?.id,
|
|
4830
4830
|
onSelect: (id) => {
|
|
4831
|
-
if (id !==
|
|
4831
|
+
if (id !== selectedToken?.id) setAmount("");
|
|
4832
4832
|
setSelectedTokenId(id);
|
|
4833
4833
|
setView("form");
|
|
4834
4834
|
}
|