'use client' import type { FC } from 'react' import * as React from 'react' import { useTranslation } from 'react-i18next' import { useDocLink } from '@/context/i18n' import useTheme from '@/hooks/use-theme' import { Theme } from '@/types/app' import { cn } from '@/utils/classnames' import s from './style.module.css' const i18nPrefix = 'sidebar.noApps' const NoApps: FC = () => { const { t } = useTranslation() const { theme } = useTheme() const docLink = useDocLink() return (
{t(`${i18nPrefix}.title`, { ns: 'explore' })}
{t(`${i18nPrefix}.description`, { ns: 'explore' })}
{t(`${i18nPrefix}.learnMore`, { ns: 'explore' })}
) } export default React.memo(NoApps)