Skip to content

Commit

Permalink
chore: fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
lajbel committed Nov 8, 2024
1 parent f08efee commit 59d8397
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import {
import astroMetaTags from "astro-meta-tags";
import robotsTxt from "astro-robots-txt";
import { defineConfig } from "astro/config";
import { defineConfig, passthroughImageService } from "astro/config";
import rehypeKatex from "rehype-katex";
import remarkMath from "remark-math";
import { rehypeKAPLAY } from "./plugins/rehypeKAPLAY";
Expand Down
2 changes: 1 addition & 1 deletion src/components/Doc/JSDocTag.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ type Props = {
export const JSDocTag = component$(({ tag, items }: Props) => {
const hiddenTags = ["group"];
if (hiddenTags.includes(tag)) return;
const item = items.flat()[0].text ?? "";
const item = items.flat()[0]?.text ?? "";

switch (tag) {
case "example":
Expand Down
2 changes: 1 addition & 1 deletion src/components/Land/About.astro
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ import AboutFeatured from "./AboutFeatured.astro";
</div>
<div>
<img
class="w-full max-w-3xl"
class="w-full max-w-3xl aspect-video"
src={kaplayBanner.src}
alt="KAPLAY Banner"
height={1400}
Expand Down

0 comments on commit 59d8397

Please sign in to comment.