diff --git a/codegen.yml b/codegen.yml index eb4811ba..f8792674 100644 --- a/codegen.yml +++ b/codegen.yml @@ -2,7 +2,7 @@ overwrite: true generates: # Generate types for chat src/graphql/schema/chat.gen.ts: - schema: 'https://chat.discours.io' + schema: 'https://inboxtest.discours.io' plugins: - 'typescript' - 'typescript-operations' @@ -15,7 +15,7 @@ generates: # Generate types for core src/graphql/schema/core.gen.ts: - schema: 'https://core.discours.io' + schema: 'https://coretest.discours.io' plugins: - 'typescript' - 'typescript-operations' diff --git a/src/components/Author/AuthorCard/AuthorCard.tsx b/src/components/Author/AuthorCard/AuthorCard.tsx index 9804b6e3..f0ccbe65 100644 --- a/src/components/Author/AuthorCard/AuthorCard.tsx +++ b/src/components/Author/AuthorCard/AuthorCard.tsx @@ -17,7 +17,7 @@ import { SharePopup, getShareUrl } from '../../Article/SharePopup' import { Modal } from '../../Nav/Modal' import { TopicBadge } from '../../Topic/TopicBadge' import { Button } from '../../_shared/Button' -import { FollowingCounters } from '../../_shared/FollowingCounters' +import { FollowingCounters } from '../../_shared/FollowingCounters/FollowingCounters' import { ShowOnlyOnClient } from '../../_shared/ShowOnlyOnClient' import { AuthorBadge } from '../AuthorBadge' import { Userpic } from '../Userpic' @@ -199,7 +199,7 @@ export const AuthorCard = (props: Props) => { followers={props.followers} followersAmount={props.author?.stat?.followers} following={props.flatFollows} - followingAmount={props.author?.stat?.authors} + followingAmount={props.author?.stat?.authors + props.author?.stat?.topics} />