Changeset View
Changeset View
Standalone View
Standalone View
web/cashtab-components/src/hoc/CashtabBase/CashtabBase.tsx
Show First 20 Lines • Show All 173 Lines • ▼ Show 20 Lines | return class extends React.Component<CashtabBaseProps, IState> { | ||||
window.open(Ticker.installLink); | window.open(Ticker.installLink); | ||||
} | } | ||||
return; | return; | ||||
} | } | ||||
if (walletProviderStatus) { | if (walletProviderStatus) { | ||||
this.setState({ step: 'fresh' }); | this.setState({ step: 'fresh' }); | ||||
// Do not pass a token quantity to send, this is not yet supported in Cashtab | |||||
if (coinType === Ticker.tokenName) { | |||||
return; | |||||
} | |||||
return window.postMessage( | return window.postMessage( | ||||
{ | { | ||||
type: 'FROM_PAGE', | type: 'FROM_PAGE', | ||||
text: 'CashTab', | text: 'CashTab', | ||||
txInfo: { | txInfo: { | ||||
address: to, | address: to, | ||||
value: satoshis | value: satoshis | ||||
? parseFloat( | ? parseFloat( | ||||
▲ Show 20 Lines • Show All 241 Lines • Show Last 20 Lines |