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