const html = require('choo/html'); const progress = require('./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('download'); emit('pushState', '/'); } return div; };