fix: ensure 'night' is set before hydration
This commit is contained in:
committed by
mrugesh
parent
5a38887af1
commit
18bee1bd59
@ -4,7 +4,12 @@ import PropTypes from 'prop-types';
|
|||||||
export default class HTML extends React.Component {
|
export default class HTML extends React.Component {
|
||||||
render() {
|
render() {
|
||||||
return (
|
return (
|
||||||
<html id='__fcc-html' {...this.props.htmlAttributes} lang='en'>
|
<html
|
||||||
|
className='night'
|
||||||
|
id='__fcc-html'
|
||||||
|
{...this.props.htmlAttributes}
|
||||||
|
lang='en'
|
||||||
|
>
|
||||||
<head>
|
<head>
|
||||||
<meta charSet='utf-8' />
|
<meta charSet='utf-8' />
|
||||||
<meta content='ie=edge' httpEquiv='x-ua-compatible' />
|
<meta content='ie=edge' httpEquiv='x-ua-compatible' />
|
||||||
|
Reference in New Issue
Block a user