Skip to content

Commit

Permalink
refactor: load theme script on common layout
Browse files Browse the repository at this point in the history
  • Loading branch information
yacosta738 committed Mar 5, 2024
1 parent 8dcca0d commit f522441
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions apps/frontend/web/src/layouts/CommonLayout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ const { title, description = pkg.description } = Astro.props;
<meta name="description" content={description ?? pkg.description} />
<meta name="copyright" content={pkg.license} />
<title>{title}</title>
<script>
import { loadTheme } from '@lyra/vm-core';
loadTheme();
</script>
<script>
import { loadTheme } from '@lyra/vm-core';
loadTheme();
</script>
</head>
<body
class:list={[
Expand Down

0 comments on commit f522441

Please sign in to comment.