From: Dessalines <dessalines@users.noreply.github.com> Date: Fri, 15 Apr 2022 21:22:57 +0000 (-0400) Subject: Fixing helmet theme bug. Fixes #628 (#629) X-Git-Url: http://these/git/%22https:/join-lemmy.org/static/sneer-club-logo.svg?a=commitdiff_plain;h=f7dc1a52dae4150eeddda189299f62744bd20e14;p=lemmy-ui.git Fixing helmet theme bug. Fixes #628 (#629) --- diff --git a/src/shared/components/app/theme.tsx b/src/shared/components/app/theme.tsx index b609b71..cdb7f7e 100644 --- a/src/shared/components/app/theme.tsx +++ b/src/shared/components/app/theme.tsx @@ -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> ); }