mirror of
https://github.com/cupcakearmy/nicco.io.git
synced 2025-09-07 03:00:45 +00:00
almost done
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
export type Props = {
|
||||
name: string
|
||||
href: string
|
||||
count: number
|
||||
count?: number
|
||||
}
|
||||
|
||||
const { name, href, count } = Astro.props
|
||||
@@ -11,7 +11,7 @@ const { name, href, count } = Astro.props
|
||||
<a {href}>
|
||||
<div>
|
||||
{name}
|
||||
<i>{count}</i>
|
||||
{count && <i>{count}</i>}
|
||||
</div>
|
||||
</a>
|
||||
|
||||
|
Reference in New Issue
Block a user