Fixing helmet theme bug. Fixes #628

This commit is contained in:
Dessalines 2022-04-15 17:06:55 -04:00 committed by Dessalines
parent 9c2f70e5e0
commit e99fd47958

View file

@ -38,7 +38,6 @@ export class Theme extends Component<Props> {
} else { } else {
return ( return (
<Helmet> <Helmet>
[
<link <link
rel="stylesheet" rel="stylesheet"
type="text/css" type="text/css"
@ -46,7 +45,6 @@ export class Theme extends Component<Props> {
id="default-light" id="default-light"
media="(prefers-color-scheme: light)" media="(prefers-color-scheme: light)"
/> />
,
<link <link
rel="stylesheet" rel="stylesheet"
type="text/css" type="text/css"
@ -54,7 +52,6 @@ export class Theme extends Component<Props> {
id="default-dark" id="default-dark"
media="(prefers-color-scheme: no-preference), (prefers-color-scheme: dark)" media="(prefers-color-scheme: no-preference), (prefers-color-scheme: dark)"
/> />
];
</Helmet> </Helmet>
); );
} }