refactor: remove unused props from components and improve error handling in about page (#385)

This commit is contained in:
Katsuyuki Karasawa authored and GitHub committed 2025-04-08 22:44:52 +09:00
1 parent c8142d0ac5
commit 7ea2f7f40f
8 files changed
+11 -12

No files matched your search

-2
View File
@@ -3,7 +3,6 @@ import Profile from './Profile.astro'
import Tag from './Tags.astro'
import Categories from './Categories.astro'
import type { MarkdownHeading } from 'astro'
import TOC from './TOC.astro'
interface Props {
class? : string
@@ -11,7 +10,6 @@ interface Props {
}
const className = Astro.props.class
const headings = Astro.props.headings
---
<div id="sidebar" class:list={[className, "w-full"]}>
-1
View File
@@ -10,7 +10,6 @@ interface Props {
class?: string
style?: string
}
const props = Astro.props
const { id, name, isCollapsed, collapsedHeight, style } = Astro.props
const className = Astro.props.class
---