From: Orvar Segerström Date: Mon, 26 Oct 2020 14:22:14 +0000 (+0100) Subject: Refactor X-Git-Url: http://these/git/%7BelementUrl%7D?a=commitdiff_plain;h=ed5c4c112357d071191b43551a9575dd69f7c8fc;p=lemmy-ui.git Refactor --- diff --git a/src/server/index.tsx b/src/server/index.tsx index 6a7ffbe..34bd453 100644 --- a/src/server/index.tsx +++ b/src/server/index.tsx @@ -89,7 +89,7 @@ server.get('/*', async (req, res) => { - + ${helmet.title.toString()} ${helmet.meta.toString()} @@ -109,14 +109,12 @@ server.get('/*', async (req, res) => { - ${userTheme || ''} ${ - userTheme - ? '' - : ` + userTheme ?? + ` - ` + `.trim() }