Fixed flow problem with openHoc in Transaction component

This commit is contained in:
apanizo 2018-08-27 18:09:05 +02:00
parent d60b9a7af6
commit 67e07c8387
1 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@ type Props = Open & SelectorProps & {
export const PROCESS_TXS = 'PROCESS TRANSACTION'
class GnoTransaction extends React.PureComponent<Props, {}> {
class GnoTransaction extends React.PureComponent<Props> {
onProccesClick = () => this.props.onProcessTx(this.props.transaction, this.props.confirmed)
hasConfirmed = (userAddress: string, confirmations: List<Confirmation>): boolean =>
@ -108,4 +108,4 @@ class GnoTransaction extends React.PureComponent<Props, {}> {
}
}
export default connect(selector)(openHoc(GnoTransaction))
export default openHoc(connect(selector)(GnoTransaction))