From 156cfccf34a02bc319ca2fb767230c5e896ec7a7 Mon Sep 17 00:00:00 2001 From: Dessalines Date: Wed, 22 Nov 2023 17:44:42 -0500 Subject: [PATCH] Fixing follow from subscribe page. Fixes #2215 (#2229) --- src/shared/components/community/communities.tsx | 4 ++-- update_translations.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/shared/components/community/communities.tsx b/src/shared/components/community/communities.tsx index ca015e2d..f61b1795 100644 --- a/src/shared/components/community/communities.tsx +++ b/src/shared/components/community/communities.tsx @@ -185,7 +185,7 @@ export class Communities extends Component { { i: this, communityId: cv.community.id, - follow: false, + follow: true, }, this.handleFollow, )} @@ -193,7 +193,7 @@ export class Communities extends Component { { i: this, communityId: cv.community.id, - follow: true, + follow: false, }, this.handleFollow, )} diff --git a/update_translations.sh b/update_translations.sh index 677eee96..a66da602 100755 --- a/update_translations.sh +++ b/update_translations.sh @@ -10,7 +10,7 @@ popd # look for unused translations for langfile in lemmy-translations/translations/*.json; do lang=$(basename $langfile .json) - if ! grep -q "\"./translations/$lang\"" src/shared/i18next.ts; then + if ! grep -q "\"./translations/$lang\"" src/shared/services/I18NextService.ts; then echo "Unused language $lang" fi done