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