const html = require('choo/html'); const progress = require('../../templates/progress'); const { fadeOut } = require('../../utils'); module.exports = function(state, emit) { const div = html`
${state.translate('downloadFinish')}
${progress(1)}
${state.translate('sendYourFilesLink')}
`; async function sendNew(e) { e.preventDefault(); await fadeOut('.page'); emit('pushState', '/'); } return div; };