fix: tag if condition (#1432)

zio/stable
Shinigami 2023-01-24 22:57:24 +01:00 committed by GitHub
parent 46a8472001
commit 5527468258
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ const toggleFollowTag = async () => {
tag.following = !tag.following tag.following = !tag.following
try { try {
if (tag.following) if (previousFollowingState)
await client.v1.tags.unfollow(tag.name) await client.v1.tags.unfollow(tag.name)
else else
await client.v1.tags.follow(tag.name) await client.v1.tags.follow(tag.name)