@kimafinance/kima-transaction-widget 1.2.33-beta.1 → 1.2.35-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.
@@ -1,6 +1,7 @@
1
1
  import React from 'react';
2
2
  import { ThemeOptions } from '../../interface';
3
- declare const TxButton: ({ theme }: {
3
+ interface Props {
4
4
  theme: ThemeOptions;
5
- }) => React.JSX.Element;
5
+ }
6
+ declare const TxButton: ({ theme }: Props) => React.JSX.Element;
6
7
  export default TxButton;
package/dist/index.js CHANGED
@@ -8112,7 +8112,6 @@ var TransferWidget = function TransferWidget(_ref) {
8112
8112
  var _useIsWalletReady = useIsWalletReady(),
8113
8113
  isReady = _useIsWalletReady.isReady,
8114
8114
  walletAddress = _useIsWalletReady.walletAddress;
8115
- var pendingTxs = reactRedux.useSelector(selectPendingTxs);
8116
8115
  var _useAllowance = useAllowance({
8117
8116
  setApproving: setApproving
8118
8117
  }),
@@ -8624,9 +8623,9 @@ var TransferWidget = function TransferWidget(_ref) {
8624
8623
  className: 'title'
8625
8624
  }, 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
8625
  className: 'control-buttons'
8627
- }, pendingTxs > 0 ? React__default.createElement(TxButton, {
8626
+ }, React__default.createElement(TxButton, {
8628
8627
  theme: theme
8629
- }) : null, React__default.createElement(ExternalLink, {
8628
+ }), React__default.createElement(ExternalLink, {
8630
8629
  to: helpURL ? helpURL : 'https://docs.kima.finance/demo'
8631
8630
  }, React__default.createElement("div", {
8632
8631
  className: 'menu-button'