mirror of
https://github.com/Nezumi-2711/onedrive-vercel-index.git
synced 2026-09-22 13:38:45 +00:00
some housekeeping
This commit is contained in:
+1
-1
@@ -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": {
|
||||
|
||||
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user