@kimafinance/kima-transaction-widget 1.2.12-beta.1 → 1.2.14-beta.1
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.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +2 -2
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2531,7 +2531,7 @@ function useBalance() {
|
|
|
2531
2531
|
var selectedCoin = reactRedux.useSelector(selectSelectedToken);
|
|
2532
2532
|
var tokenOptions = reactRedux.useSelector(selectTokenOptions);
|
|
2533
2533
|
var tokenAddress = React.useMemo(function () {
|
|
2534
|
-
if (isEmptyObject(tokenOptions) || sourceChain === exports.SupportNetworks.FIAT
|
|
2534
|
+
if (isEmptyObject(tokenOptions) || sourceChain === exports.SupportNetworks.FIAT) return '';
|
|
2535
2535
|
if (tokenOptions && typeof tokenOptions === 'object') {
|
|
2536
2536
|
var coinOptions = tokenOptions[selectedCoin];
|
|
2537
2537
|
if (coinOptions && typeof coinOptions === 'object') {
|
|
@@ -7381,7 +7381,7 @@ function useAllowance(_ref) {
|
|
|
7381
7381
|
var selectedCoin = reactRedux.useSelector(selectSelectedToken);
|
|
7382
7382
|
var tokenOptions = reactRedux.useSelector(selectTokenOptions);
|
|
7383
7383
|
var tokenAddress = React.useMemo(function () {
|
|
7384
|
-
if (isEmptyObject(tokenOptions) || sourceChain === exports.SupportNetworks.FIAT
|
|
7384
|
+
if (isEmptyObject(tokenOptions) || sourceChain === exports.SupportNetworks.FIAT) return '';
|
|
7385
7385
|
if (tokenOptions && typeof tokenOptions === 'object') {
|
|
7386
7386
|
var coinOptions = tokenOptions[selectedCoin];
|
|
7387
7387
|
if (coinOptions && typeof coinOptions === 'object') {
|