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
@@ -9,12 +9,14 @@ import { API_BASE_URL } from '@/config'
import { WikiIdBus } from '@/lib/eventBus/WikiIdBus'
import { cn } from '@/lib/utils'
import type { FC } from 'react'
import type { Menu, Tag, User, WikiPage } from '@/types'
type Props = { user: User | null }
export default ({ user }: Props) => {
export default (({ user }: Props) => {
const location = useLocation ()
const [menuOpen, setMenuOpen] = useState (false)
@@ -167,4 +169,4 @@ export default ({ user }: Props) => {
<Separator/>
</div>
</>)
}
}) satisfies FC<Props>