import html from 'choo/html'; import headerImage from '../../dev/images/header.png'; export const globalView = (state, emit, view) => { const { i18n } = state; if (i18n.needsFetch) { return html`
`; } // Create a wrapper for view content that includes global header/footer return html`