This commit is contained in:
parent
06d18e8901
commit
0c6aaef5d1
|
|
@ -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={
|
||||
|
|
|
|||
Loading…
Reference in New Issue