Skip to content

Commit 156cfcc

Browse files
authored
Fixing follow from subscribe page. Fixes #2215 (#2229)
1 parent fa46957 commit 156cfcc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/shared/components/community/communities.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -185,15 +185,15 @@ export class Communities extends Component<any, CommunitiesState> {
185185
{
186186
i: this,
187187
communityId: cv.community.id,
188-
follow: false,
188+
follow: true,
189189
},
190190
this.handleFollow,
191191
)}
192192
onUnFollow={linkEvent(
193193
{
194194
i: this,
195195
communityId: cv.community.id,
196-
follow: true,
196+
follow: false,
197197
},
198198
this.handleFollow,
199199
)}

update_translations.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ popd
1010
# look for unused translations
1111
for langfile in lemmy-translations/translations/*.json; do
1212
lang=$(basename $langfile .json)
13-
if ! grep -q "\"./translations/$lang\"" src/shared/i18next.ts; then
13+
if ! grep -q "\"./translations/$lang\"" src/shared/services/I18NextService.ts; then
1414
echo "Unused language $lang"
1515
fi
1616
done

0 commit comments

Comments
 (0)