Fixing helmet theme bug. Fixes #628 (#629)

This commit is contained in:
Dessalines 2022-04-15 17:22:57 -04:00 committed by GitHub
parent 9c2f70e5e0
commit f7dc1a52da
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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>
);
}