diff --git a/src/components/Nav/Header/Header.tsx b/src/components/Nav/Header/Header.tsx index edb90465..b16f8697 100644 --- a/src/components/Nav/Header/Header.tsx +++ b/src/components/Nav/Header/Header.tsx @@ -274,13 +274,7 @@ export const Header = (props: Props) => { Гид по дискурсу
  • - Частые вопросы -
  • -
  • - Энциклопедия -
  • -
  • - Как поддержать? + Как поддержать?
  • Как помочь? @@ -302,7 +296,7 @@ export const Header = (props: Props) => { > diff --git a/src/components/Nav/Topics.tsx b/src/components/Nav/Topics.tsx index c2e0574e..1e014a5f 100644 --- a/src/components/Nav/Topics.tsx +++ b/src/components/Nav/Topics.tsx @@ -1,36 +1,51 @@ -import { For, Show } from 'solid-js' -import type { Topic } from '../../graphql/types.gen' import { Icon } from '../_shared/Icon' import { useLocalize } from '../../context/localize' import './Topics.scss' -export const NavTopics = (props: { topics: Topic[] }) => { - const { t, lang } = useLocalize() - const tag = (topic: Topic) => - /[ЁА-яё]/.test(topic.title || '') && lang() !== 'ru' ? topic.slug : topic.title - // TODO: something about subtopics +export const NavTopics = () => { + const { t } = useLocalize() + return ( )