diff --git a/components/Meta.js b/components/Meta.js index dbfa679..3d14b42 100644 --- a/components/Meta.js +++ b/components/Meta.js @@ -10,6 +10,9 @@ const CDN_STYLESHEETS = THEMES.filter( t => t.hasStylesheet !== false && LOCAL_STYLESHEETS.indexOf(t.id) < 0 ) +// as="style" +// onLoad="this.onload=null;this.rel='stylesheet'" + export default function Meta() { const onBrowser = typeof window !== 'undefined' return ( @@ -38,44 +41,27 @@ export default function Meta() { Carbon - + {LOCAL_STYLESHEETS.map(id => ( - + ))} {onBrowser ? CDN_STYLESHEETS.map(theme => (