fix: tag if condition (#1432)

This commit is contained in:
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

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)