"use strict"; // I M P O R T S import html from "choo/html"; import { require as local } from "app-root-path"; // U T I L S import editLink from "./edit-link"; import emailSubscribe from "./email-subscribe"; const config = local("/config"); // E X P O R T export default state => { if (state.hideFooter) return ""; return html`
${emailSubscribe()}
`; };