@kimafinance/kima-transaction-widget 1.2.11-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.css CHANGED
@@ -949,14 +949,14 @@
949
949
  display: flex;
950
950
  align-items: center;
951
951
  }
952
- .kima-card .kima-card-content .kima-custom-checkbox .content {
952
+ .kima-card .kima-card-content .kima-custom-checkbox .custom-checkbox-content {
953
953
  display: flex;
954
954
  align-items: center;
955
955
  -moz-column-gap: 0.5em;
956
956
  column-gap: 0.5em;
957
957
  cursor: pointer;
958
958
  }
959
- .kima-card .kima-card-content .kima-custom-checkbox .content .icon-wrapper {
959
+ .kima-card .kima-card-content .kima-custom-checkbox .custom-checkbox-content .custom-checkbox-icon-wrapper {
960
960
  border: 1px solid #ffffff;
961
961
  height: 1em;
962
962
  width: 1em;
@@ -965,10 +965,10 @@
965
965
  justify-content: center;
966
966
  align-items: center;
967
967
  }
968
- .kima-card .kima-card-content .kima-custom-checkbox .content .icon-wrapper.light {
968
+ .kima-card .kima-card-content .kima-custom-checkbox .custom-checkbox-content .custom-checkbox-icon-wrapper.light {
969
969
  border-color: #4f5156;
970
970
  }
971
- .kima-card .kima-card-content .kima-custom-checkbox .content .icon-wrapper svg {
971
+ .kima-card .kima-card-content .kima-custom-checkbox .custom-checkbox-content .custom-checkbox-icon-wrapper svg {
972
972
  margin-top: 0.2em;
973
973
  margin-left: 1px;
974
974
  }
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 || tokenOptions) return '';
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 || tokenOptions) return '';
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') {