const html = require('choo/html'); const titleSection = require('../../templates/title'); const downloadButton = require('../../templates/downloadButton'); const downloadedFiles = require('../../templates/uploadedFileList'); module.exports = function(state, emit) { const storageFile = state.storage.getFileById(state.params.id); const multifiles = Array.from(storageFile.manifest.files); return html`