From 3ed659e894141798c2361bad52c39e3011e7cd07 Mon Sep 17 00:00:00 2001 From: Mike Fix Date: Tue, 12 Feb 2019 17:28:56 -0800 Subject: [PATCH] fix cdn backed styles links --- components/Meta.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/components/Meta.js b/components/Meta.js index 00b09b2..73aeee8 100644 --- a/components/Meta.js +++ b/components/Meta.js @@ -12,7 +12,7 @@ export function Link({ href }) { return ( - + ) } @@ -64,8 +64,7 @@ export const MetaLinks = () => { {LOCAL_STYLESHEETS.map(id => ( ))} - {CDN_STYLESHEETS.map(theme => { - const themeDef = THEMES_HASH[theme] + {CDN_STYLESHEETS.map(themeDef => { const href = `//cdnjs.cloudflare.com/ajax/libs/codemirror/5.42.2/theme/${themeDef && (themeDef.link || themeDef.id)}.min.css` return