some housekeeping

This commit is contained in:
spencerwooo
2022-02-08 16:49:34 +08:00
parent 2b5a91537b
commit 3773a3a2cf
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -7,7 +7,7 @@
"build": "next build",
"start": "next start",
"lint": "next lint",
"format": "prettier components/**/*.tsx config/*.js pages/**/*.tsx {types,utils}/**/*.ts --write",
"format": "prettier components/**/*.tsx config/*.js pages/**/*.{ts,tsx} {types,utils}/**/*.ts --write",
"extract": "i18next"
},
"dependencies": {
+2 -2
View File
@@ -118,7 +118,7 @@ export default function OAuthStep3({ accessToken, expiryTime, refreshToken, erro
<span>
{t('Whoops, looks like we got a problem: {{error}}.', {
// t('No auth code present')
error: t(error)
error: t(error),
})}
</span>
</p>
@@ -190,7 +190,7 @@ export default function OAuthStep3({ accessToken, expiryTime, refreshToken, erro
'Final step, click the button below to store these tokens persistently before they expire after {{minutes}} minutes {{seconds}} seconds. ',
{
minutes: Math.floor(expiryTimeLeft / 60),
seconds: expiryTimeLeft - Math.floor(expiryTimeLeft / 60) * 60
seconds: expiryTimeLeft - Math.floor(expiryTimeLeft / 60) * 60,
}
) +
t(