This commit is contained in:
2025-08-23 18:40:03 +09:00
parent e79688783e
commit 7e2d94fdc0
15 changed files with 80 additions and 57 deletions
+4 -2
View File
@@ -3,13 +3,15 @@ import { Link } from 'react-router-dom'
import Separator from '@/components/MenuSeparator'
import { cn } from '@/lib/utils'
import type { FC } from 'react'
import type { User } from '@/types'
type Props = { user: User | null,
sp?: boolean }
export default ({ user, sp }: Props) => {
export default (({ user, sp }: Props) => {
if (!(user))
return
@@ -27,4 +29,4 @@ export default ({ user, sp }: Props) => {
{user.name || '名もなきニジラー'}
</Link>
</>)
}
}) satisfies FC<Props>