Skip to content

Commit

Permalink
Fixing helmet theme bug. Fixes #628
Browse files Browse the repository at this point in the history
  • Loading branch information
dessalines committed Apr 15, 2022
1 parent 9c2f70e commit e99fd47
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/shared/components/app/theme.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,23 +38,20 @@ export class Theme extends Component<Props> {
} else {
return (
<Helmet>
[
<link
rel="stylesheet"
type="text/css"
href="/css/themes/litely.css"
id="default-light"
media="(prefers-color-scheme: light)"
/>
,
<link
rel="stylesheet"
type="text/css"
href="/css/themes/darkly.css"
id="default-dark"
media="(prefers-color-scheme: no-preference), (prefers-color-scheme: dark)"
/>
];
</Helmet>
);
}
Expand Down

0 comments on commit e99fd47

Please sign in to comment.