From 605dae2127908d1c56851b5d68ee7f7b71fe9eab Mon Sep 17 00:00:00 2001 From: Untone Date: Wed, 8 May 2024 23:43:38 +0300 Subject: [PATCH 1/5] common-result --- src/graphql/client/core.ts | 2 +- src/graphql/query/core/author-follows.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/graphql/client/core.ts b/src/graphql/client/core.ts index 9c083e86..bab144f9 100644 --- a/src/graphql/client/core.ts +++ b/src/graphql/client/core.ts @@ -134,7 +134,7 @@ export const apiClient = { slug?: string author_id?: number user?: string - }): Promise => { + }): Promise => { const response = await publicGraphQLClient.query(authorFollows, params).toPromise() return response.data.get_author_follows }, diff --git a/src/graphql/query/core/author-follows.ts b/src/graphql/query/core/author-follows.ts index 9d46ea2c..31924246 100644 --- a/src/graphql/query/core/author-follows.ts +++ b/src/graphql/query/core/author-follows.ts @@ -3,6 +3,7 @@ import { gql } from '@urql/core' export default gql` query GetAuthorFollows($slug: String, $user: String, $author_id: Int) { get_author_follows(slug: $slug, user: $user, author_id: $author_id) { + error authors { id slug From 30672fc1af6fb49c99cde27d9623dd9a3171774c Mon Sep 17 00:00:00 2001 From: Kosta <47947996+dobrodob@users.noreply.github.com> Date: Thu, 9 May 2024 14:26:16 +0300 Subject: [PATCH 2/5] Enlarge profile popup (#462) Co-authored-by: kvakazyambra --- src/components/Nav/ProfilePopup.tsx | 2 +- src/components/_shared/Popup/Popup.module.scss | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/components/Nav/ProfilePopup.tsx b/src/components/Nav/ProfilePopup.tsx index 90909bea..f29509cc 100644 --- a/src/components/Nav/ProfilePopup.tsx +++ b/src/components/Nav/ProfilePopup.tsx @@ -18,7 +18,7 @@ export const ProfilePopup = (props: ProfilePopupProps) => { const { t } = useLocalize() return ( - +