Commit d8bc3862 authored by Robin Frischmann's avatar Robin Frischmann Committed by Tim Neutkens

improve server-side rendering (#2322)

parent 8277d431
......@@ -18,7 +18,7 @@ export default class MyDocument extends Document {
render () {
const styleNodes = this.props.sheetList.map(({ type, media, css }) => (
<style data-fela-type={type} media={media}>{css}</style>
<style data-fela-type={type} media={media} dangerouslySetInnerHTML={{ __html: css }} />
))
return (
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment