From 91654f1477327799ed2ec5a831a35038ab04c240 Mon Sep 17 00:00:00 2001 From: Mat Gadd Date: Fri, 20 Oct 2017 17:47:49 +0100 Subject: [PATCH] Only add link elements for themes with stylesheets --- components/Meta.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/Meta.js b/components/Meta.js index 9d3a50d..81ab798 100644 --- a/components/Meta.js +++ b/components/Meta.js @@ -31,7 +31,7 @@ export default () => ( rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/codemirror/5.26.0/codemirror.min.css" /> - {THEMES.map((theme, i) => ( + {THEMES.filter(t => t.hasStylesheet !== false).map((theme, i) => (