From 7cb4740d0430f744020b136278cb5fe74ec08e06 Mon Sep 17 00:00:00 2001 From: Mike Fix Date: Wed, 29 May 2019 17:46:04 -0700 Subject: [PATCH] fix codemirror stylesheets - Closes #775 --- components/Meta.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/Meta.js b/components/Meta.js index 8b2aa87..27adecf 100644 --- a/components/Meta.js +++ b/components/Meta.js @@ -8,7 +8,7 @@ import Typography from './style/Typography' const HIGHLIGHTS_ONLY = ['shades-of-purple', 'vscode'] const LOCAL_STYLESHEETS = ['one-light', 'one-dark', 'verminal', 'night-owl', 'nord'] const CDN_STYLESHEETS = THEMES.filter( - t => LOCAL_STYLESHEETS.indexOf(t.id) < 0 && HIGHLIGHTS_ONLY.indexOf(t.id) < -1 + t => LOCAL_STYLESHEETS.indexOf(t.id) < 0 && HIGHLIGHTS_ONLY.indexOf(t.id) < 0 ) export function Link({ href }) {