This commit is contained in:
parent
06c09e8312
commit
ed79e52441
@ -96,13 +96,13 @@
|
||||
showTwitchLinkBtn = !twitchToken || tokenExpireSoon;
|
||||
|
||||
if (!twitchToken) {
|
||||
twitchBtnLabel = "Link to Twitch";
|
||||
twitchBtnLabel = "Login with Twitch";
|
||||
}
|
||||
if (tokenExpireSoon) {
|
||||
twitchBtnLabel = "Renew Twitch token"
|
||||
}
|
||||
if (twitchToken) {
|
||||
twitchBtnLabel = "Already linked"
|
||||
twitchBtnLabel = "Already logged in"
|
||||
}
|
||||
|
||||
twitchBtnTitle = twitchToken && tokenExpireInDays > 0 ? `Days left: ${tokenExpireInDays}` : null;
|
||||
|
Reference in New Issue
Block a user