mirror of
https://github.com/status-im/safe-react.git
synced 2025-02-17 12:07:09 +00:00
Fixed flow problem with openHoc in Transaction component
This commit is contained in:
parent
d60b9a7af6
commit
67e07c8387
@ -32,7 +32,7 @@ type Props = Open & SelectorProps & {
|
|||||||
|
|
||||||
export const PROCESS_TXS = 'PROCESS TRANSACTION'
|
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)
|
onProccesClick = () => this.props.onProcessTx(this.props.transaction, this.props.confirmed)
|
||||||
|
|
||||||
hasConfirmed = (userAddress: string, confirmations: List<Confirmation>): boolean =>
|
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))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user