Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
disabled={this.props.refreshStatus === 'pending'}
onClick={this.props.onRefreshRequest}
>
{this.props.refreshStatus === 'pending' ? 'Syncing...' : 'Refresh'}
}
isOpen={this.props.isOpen}
title="Receipt"
>
)
}
}
export default withReceiptState(ReceiptModal)