This commit is contained in:
parent
0c6aaef5d1
commit
8fe519af73
|
|
@ -18,10 +18,10 @@ export const SidebarSwitchItem: FC<SidebarSwitchItemProps> = ({
|
||||||
const { t } = useTranslation()
|
const { t } = useTranslation()
|
||||||
return (
|
return (
|
||||||
<WithTooltip
|
<WithTooltip
|
||||||
display={
|
// display={
|
||||||
// <div>{contentType[0].toUpperCase() + contentType.substring(1)}</div>
|
// <div>{contentType[0].toUpperCase() + contentType.substring(1)}</div>
|
||||||
{<div>{t(`contentType.${contentType}`)}</div>}
|
// }
|
||||||
}
|
display={<div>{t(`contentType.${contentType}`)}</div>}
|
||||||
trigger={
|
trigger={
|
||||||
<TabsTrigger
|
<TabsTrigger
|
||||||
className="hover:opacity-50"
|
className="hover:opacity-50"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue