'use strict'; const { Component, Fragment } = require('inferno'); const { cacheComponent } = require('../util/cache'); class Paypal extends Component { render() { const { type, business, currencyCode, __ } = this.props; if (!business || !currencyCode) { return
You forgot to set the business or currency_code for Paypal. Please set it in _config.yml.
; } return
; } } module.exports = cacheComponent(Paypal, 'donate.paypal', props => { return { type: props.type, business: props.business, currencyCode: props.currency_code, __: props.__, url_for: props.url_for }; });