From ca2e2b8b6c55ec2cf0bef6a5a329f0a196b2e517 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?netop=3A//=20=E3=82=A6=E3=82=A7=E3=83=83=E3=83=96?= Date: Fri, 15 Feb 2019 11:40:10 -0600 Subject: [PATCH] Update head.js --- app/components/head.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/components/head.js b/app/components/head.js index 8d74eb9..ed91fa4 100644 --- a/app/components/head.js +++ b/app/components/head.js @@ -6,14 +6,15 @@ import html from "choo/html"; -// U T I L S +// U T I L import config from "@root/config"; + + // E X P O R T export default (state, emit) => { - const newMetadata = state.lbry; const description = newMetadata && newMetadata.description ? newMetadata.description : config.meta.description; const title = newMetadata && newMetadata.title ? newMetadata.title + " - lbry.tech" : "lbry.tech - " + config.meta.tagline; @@ -21,7 +22,6 @@ export default (state, emit) => { if (state.title !== title) emit(state.events.DOMTITLECHANGE, title); state.page = state.page || { }; - return html` ${title}