Only add link elements for themes with stylesheets

main
Mat Gadd 7 years ago committed by Jake Dexheimer
parent 03259f473c
commit 91654f1477

@ -31,7 +31,7 @@ export default () => (
rel="stylesheet" rel="stylesheet"
href="//cdnjs.cloudflare.com/ajax/libs/codemirror/5.26.0/codemirror.min.css" 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) => (
<link <link
key={i} key={i}
rel="stylesheet" rel="stylesheet"

Loading…
Cancel
Save