const html = require('choo/html'); module.exports = function(state) { if (state.user.loggedIn || !state.capabilities.account) { return null; } return html` ${state.translate('signInPromoText')} ${state.translate('signInExplanation')} `; };