diff --git a/web/cashtab/src/components/Send/SendToken.js b/web/cashtab/src/components/Send/SendToken.js --- a/web/cashtab/src/components/Send/SendToken.js +++ b/web/cashtab/src/components/Send/SendToken.js @@ -4,7 +4,7 @@ import { CashSpin, CashSpinIcon } from '../Common/CustomSpinner'; import { Row, Col } from 'antd'; import Paragraph from 'antd/lib/typography/Paragraph'; -import PrimaryButton, { SecondaryButton } from '../Common/PrimaryButton'; +import { SecondaryButton } from '../Common/PrimaryButton'; import { CashLoader } from '../Common/CustomIcons'; import { FormItemWithMaxAddon, @@ -44,6 +44,8 @@ const { getBCH, getRestUrl, sendToken } = useBCH(); const BCH = getBCH(); + // Keep this function around for re-enabling later + // eslint-disable-next-line no-unused-vars async function submit() { setFormData({ ...formData, @@ -283,11 +285,9 @@ {apiError && } ) : ( - submit()} - > + Send {token.info.tokenName} - + )} {apiError && ( @@ -301,7 +301,7 @@