From 82904bd1daad5f4939b4f9b3c59cf3c98a557ea0 Mon Sep 17 00:00:00 2001 From: Untone Date: Tue, 16 Jul 2024 02:11:01 +0300 Subject: [PATCH] @-patch --- src/components/Article/FullArticle.tsx | 2 +- .../Author/AuthorBadge/AuthorBadge.tsx | 2 +- .../Author/AuthorCard/AuthorCard.tsx | 2 +- .../Author/AuthorLink/AuthorLink.tsx | 2 +- src/components/Author/Userpic/Userpic.tsx | 2 +- src/components/Feed/Sidebar/Sidebar.tsx | 2 +- src/components/Nav/ProfilePopup.tsx | 4 +- .../NotificationView/NotificationGroup.tsx | 2 +- .../Views/AllAuthors/AllAuthors.tsx | 2 +- src/components/Views/Author/Author.tsx | 11 +- .../_shared/VotersList/VotersList.tsx | 2 +- src/routes/[slug]/[...tab].tsx | 125 +++++++++--------- 12 files changed, 79 insertions(+), 79 deletions(-) diff --git a/src/components/Article/FullArticle.tsx b/src/components/Article/FullArticle.tsx index 427cc0b0..e53c1707 100644 --- a/src/components/Article/FullArticle.tsx +++ b/src/components/Article/FullArticle.tsx @@ -354,7 +354,7 @@ export const FullArticle = (props: Props) => { {(a: Maybe, index: () => number) => ( <> 0}>, - {a && getAuthorName(a)} + {a && getAuthorName(a)} )} diff --git a/src/components/Author/AuthorBadge/AuthorBadge.tsx b/src/components/Author/AuthorBadge/AuthorBadge.tsx index 51ffcf82..8531f3f5 100644 --- a/src/components/Author/AuthorBadge/AuthorBadge.tsx +++ b/src/components/Author/AuthorBadge/AuthorBadge.tsx @@ -95,7 +95,7 @@ export const AuthorBadge = (props: Props) => { ( - + {children} )} diff --git a/src/components/Author/AuthorCard/AuthorCard.tsx b/src/components/Author/AuthorCard/AuthorCard.tsx index fe444e13..8c11f7b8 100644 --- a/src/components/Author/AuthorCard/AuthorCard.tsx +++ b/src/components/Author/AuthorCard/AuthorCard.tsx @@ -262,7 +262,7 @@ export const AuthorCard = (props: Props) => { description={props.author.bio || ''} imageUrl={props.author.pic || ''} shareUrl={getShareUrl({ - pathname: `/author/${props.author.slug}` + pathname: `/@${props.author.slug}` })} trigger={