Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
export default function extractStyles(options = {}) {
const { styles, cache } = boxExtractStyles()
const { ids, css } = renderStatic(
() => 'let glamor believe there is some html here'
)
const evergreenCache = {
uiBoxCache: cache,
glamorIds: ids
}
const scriptProps = {
type: 'application/json',
id: 'evergreen-hydrate',
dangerouslySetInnerHTML: { __html: JSON.stringify(evergreenCache) }
}
if (options.nonce) {