update wording on twitch button
All checks were successful
deploy / deploy (push) Successful in 48s

This commit is contained in:
Lee 2023-10-18 05:01:21 +01:00
parent 06c09e8312
commit ed79e52441

@ -96,13 +96,13 @@
showTwitchLinkBtn = !twitchToken || tokenExpireSoon; showTwitchLinkBtn = !twitchToken || tokenExpireSoon;
if (!twitchToken) { if (!twitchToken) {
twitchBtnLabel = "Link to Twitch"; twitchBtnLabel = "Login with Twitch";
} }
if (tokenExpireSoon) { if (tokenExpireSoon) {
twitchBtnLabel = "Renew Twitch token" twitchBtnLabel = "Renew Twitch token"
} }
if (twitchToken) { if (twitchToken) {
twitchBtnLabel = "Already linked" twitchBtnLabel = "Already logged in"
} }
twitchBtnTitle = twitchToken && tokenExpireInDays > 0 ? `Days left: ${tokenExpireInDays}` : null; twitchBtnTitle = twitchToken && tokenExpireInDays > 0 ? `Days left: ${tokenExpireInDays}` : null;