Skip to content

Commit

Permalink
Remove deprecated method
Browse files Browse the repository at this point in the history
  • Loading branch information
Hacksore committed Jan 30, 2025
1 parent 1c80dca commit 948722e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion apps/web/src/pages/about.astro
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ interface Frontmatter {
description?: string;
}
const [about] = await Astro.glob<Frontmatter>("../content/about/index.mdx");
const [about] = Object.values(
import.meta.glob<Frontmatter>("../content/about/index.mdx", { eager: true }),
);
---

<Layout
Expand Down

0 comments on commit 948722e

Please sign in to comment.