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