@kimafinance/kima-transaction-widget 1.2.33-beta.1 → 1.2.34-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 CHANGED
@@ -1173,7 +1173,6 @@ var _optionSlice$actions = optionSlice.actions,
1173
1173
  setTronConnectModal = _optionSlice$actions.setTronConnectModal,
1174
1174
  setHelpPopup = _optionSlice$actions.setHelpPopup,
1175
1175
  setHashPopup = _optionSlice$actions.setHashPopup,
1176
- setPendingTxPopup = _optionSlice$actions.setPendingTxPopup,
1177
1176
  setBankPopup = _optionSlice$actions.setBankPopup,
1178
1177
  setSolanaProvider = _optionSlice$actions.setSolanaProvider,
1179
1178
  setProvider = _optionSlice$actions.setProvider,
@@ -1509,9 +1508,6 @@ var selectKycStatus = function selectKycStatus(state) {
1509
1508
  var selectExpireTime = function selectExpireTime(state) {
1510
1509
  return state.option.expireTime;
1511
1510
  };
1512
- var selectPendingTxs = function selectPendingTxs(state) {
1513
- return state.option.pendingTxs;
1514
- };
1515
1511
 
1516
1512
  var Loading180Ring = function Loading180Ring(_ref) {
1517
1513
  var _ref$width = _ref.width,
@@ -3240,24 +3236,6 @@ var BankInput = function BankInput() {
3240
3236
  })));
3241
3237
  };
3242
3238
 
3243
- var TxButton = function TxButton(_ref) {
3244
- var theme = _ref.theme;
3245
- var dispatch = reactRedux.useDispatch();
3246
- var handleClick = function handleClick() {
3247
- dispatch(setPendingTxPopup(true));
3248
- };
3249
- var txCount = reactRedux.useSelector(selectPendingTxs);
3250
- return React__default.createElement("button", {
3251
- className: "secondary-button tx-button " + theme.colorMode,
3252
- onClick: handleClick,
3253
- "data-tooltip-id": 'popup-tooltip'
3254
- }, txCount, React__default.createElement(Loading180Ring, {
3255
- height: 16,
3256
- width: 16,
3257
- fill: theme.colorMode === 'light' ? 'black' : 'white'
3258
- }));
3259
- };
3260
-
3261
3239
  var HelpPopup = function HelpPopup() {
3262
3240
  var dispatch = reactRedux.useDispatch();
3263
3241
  var theme = reactRedux.useSelector(selectTheme);
@@ -8112,7 +8090,6 @@ var TransferWidget = function TransferWidget(_ref) {
8112
8090
  var _useIsWalletReady = useIsWalletReady(),
8113
8091
  isReady = _useIsWalletReady.isReady,
8114
8092
  walletAddress = _useIsWalletReady.walletAddress;
8115
- var pendingTxs = reactRedux.useSelector(selectPendingTxs);
8116
8093
  var _useAllowance = useAllowance({
8117
8094
  setApproving: setApproving
8118
8095
  }),
@@ -8624,9 +8601,7 @@ var TransferWidget = function TransferWidget(_ref) {
8624
8601
  className: 'title'
8625
8602
  }, React__default.createElement("h3", null, isWizard && wizardStep === 3 || !isWizard && formStep > 0 ? titleOption !== null && titleOption !== void 0 && titleOption.confirmTitle ? titleOption === null || titleOption === void 0 ? void 0 : titleOption.confirmTitle : 'Transfer Details' : titleOption !== null && titleOption !== void 0 && titleOption.initialTitle ? titleOption === null || titleOption === void 0 ? void 0 : titleOption.initialTitle : 'New Transfer')), React__default.createElement("div", {
8626
8603
  className: 'control-buttons'
8627
- }, pendingTxs > 0 ? React__default.createElement(TxButton, {
8628
- theme: theme
8629
- }) : null, React__default.createElement(ExternalLink, {
8604
+ }, React__default.createElement(ExternalLink, {
8630
8605
  to: helpURL ? helpURL : 'https://docs.kima.finance/demo'
8631
8606
  }, React__default.createElement("div", {
8632
8607
  className: 'menu-button'