const html = require('choo/html'); const assets = require('../../common/assets'); const modal = require('./modal'); module.exports = function(state, emit) { const btnText = state.user.loggedIn ? 'okButton' : 'sendYourFilesLink'; return html` ${state.modal && modal(state, emit)} ${state.translate('expiredTitle')} ${state.translate('trySendDescription')} ${state.translate(btnText)} `; };
${state.translate('trySendDescription')}
${state.translate(btnText)}