This commit is contained in:
hailin 2025-04-21 00:04:23 +08:00
parent 06d18e8901
commit 0c6aaef5d1
1 changed files with 2 additions and 0 deletions

View File

@ -2,6 +2,7 @@ import { ContentType } from "@/types"
import { FC } from "react"
import { TabsTrigger } from "../ui/tabs"
import { WithTooltip } from "../ui/with-tooltip"
import { useTranslation } from 'react-i18next'
interface SidebarSwitchItemProps {
contentType: ContentType
@ -14,6 +15,7 @@ export const SidebarSwitchItem: FC<SidebarSwitchItemProps> = ({
icon,
onContentTypeChange
}) => {
const { t } = useTranslation()
return (
<WithTooltip
display={