From 9277d652e950045e7268a79f3595eac8f700cc32 Mon Sep 17 00:00:00 2001 From: Untone Date: Sat, 4 May 2024 22:17:36 +0300 Subject: [PATCH] postmerge --- src/components/Author/AuthorCard/AuthorCard.tsx | 2 +- src/components/Nav/Header/Header.tsx | 7 +------ src/components/Topic/TopicBadge/TopicBadge.tsx | 2 +- 3 files changed, 3 insertions(+), 8 deletions(-) diff --git a/src/components/Author/AuthorCard/AuthorCard.tsx b/src/components/Author/AuthorCard/AuthorCard.tsx index c3b1ccd3..fb37a0ea 100644 --- a/src/components/Author/AuthorCard/AuthorCard.tsx +++ b/src/components/Author/AuthorCard/AuthorCard.tsx @@ -312,7 +312,7 @@ export const AuthorCard = (props: Props) => { {(subscription) => isAuthor(subscription) ? ( - + ) : ( ) diff --git a/src/components/Nav/Header/Header.tsx b/src/components/Nav/Header/Header.tsx index 312a6e1f..7c0258e1 100644 --- a/src/components/Nav/Header/Header.tsx +++ b/src/components/Nav/Header/Header.tsx @@ -59,7 +59,6 @@ export const Header = (props: Props) => { const [isTopicsVisible, setIsTopicsVisible] = createSignal(false) const [isZineVisible, setIsZineVisible] = createSignal(false) const [isFeedVisible, setIsFeedVisible] = createSignal(false) - const { isAuthenticated } = useSession() const toggleFixed = () => setFixed(!fixed()) @@ -331,11 +330,7 @@ export const Header = (props: Props) => { -
+
{ lang() === 'en' ? capitalize(props.topic.slug.replaceAll('-', ' ')) : props.topic.title return ( -
+