Skip to content

Commit 06fb683

Browse files
authored
chore: minor code fixes (#438)
1 parent 2fb4d3a commit 06fb683

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/components/LandingPageMap.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ export const LandingPageMap = (props: any) => {
7272
}
7373

7474
if (!window.matchMedia("(prefers-reduced-motion: reduce)").matches) {
75-
(window.onload = playAnimation),
76-
setInterval(playAnimation, lastPoint.Pause + lastPoint.Duration);
75+
window.onload = playAnimation;
76+
setInterval(playAnimation, lastPoint.Pause + lastPoint.Duration);
7777
}
7878
});
7979

src/content.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { defineCollection, z } from "astro:content";
22

3-
import { glob, file } from "astro/loaders";
3+
import { glob } from "astro/loaders";
44

55
const news = defineCollection({
66
loader: glob({ pattern: "**/*.mdx", base: "./src/content/news" }),

0 commit comments

Comments
 (0)