このコミットが含まれているのは:
2026-10-18 00:20:30 +09:00
コミット 9be0c7b1d9
45個のファイルの変更、355行の追加、199行の削除
+3 -1
ファイルの表示
@@ -1,6 +1,7 @@
import Separator from '@/components/MenuSeparator'
import PrefetchLink from '@/components/PrefetchLink'
import { cn } from '@/lib/utils'
import { useUITranslation } from '@/lib/useUITranslation'
import type { FC } from 'react'
@@ -11,6 +12,7 @@ type Props = { user: User | null,
const TopNavUser: FC<Props> = ({ user, sp }) => {
const { label } = useUITranslation ('shared')
if (!(user))
return
@@ -24,7 +26,7 @@ const TopNavUser: FC<Props> = ({ user, sp }) => {
<>
{sp && <Separator/>}
<PrefetchLink to="/users/settings" className={className}>
{user.name || '名もなきニジラー'}
{user.name || label ('labels.anonymous')}
</PrefetchLink>
</>)
}