'use strict'; const { Component } = require('inferno'); const { cacheComponent } = require('../util/cache'); class Alipay extends Component { render() { const { title, qrcode, url_for } = this.props; if (!qrcode) { return
You forgot to set the qrcode for Alipay. Please set it in _config.yml.
; } return {title} {title} ; } } module.exports = cacheComponent(Alipay, 'donate.alipay', props => { return { qrcode: props.qrcode, title: props.__('donate.' + props.type), url_for: props.url_for }; });