From 5652259395678711e2314bea5ce3aae697e95a33 Mon Sep 17 00:00:00 2001 From: kvakazyambra Date: Thu, 9 Nov 2023 00:09:50 +0300 Subject: [PATCH] Fixed type error --- src/components/Author/AuthorCard/AuthorCard.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Author/AuthorCard/AuthorCard.tsx b/src/components/Author/AuthorCard/AuthorCard.tsx index 07b38a28..432bc5ef 100644 --- a/src/components/Author/AuthorCard/AuthorCard.tsx +++ b/src/components/Author/AuthorCard/AuthorCard.tsx @@ -215,9 +215,9 @@ export const AuthorCard = (props: Props) => { onClick={handleSubscribe} value={followButtonText()} isSubscribeButton={true} - class={{ + class={clsx({ [stylesButton.subscribed]: subscribed() - }} + })} />