diff --git a/package.json b/package.json index 26de92f..1a619d6 100644 --- a/package.json +++ b/package.json @@ -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": { diff --git a/pages/onedrive-vercel-index-oauth/step-3.tsx b/pages/onedrive-vercel-index-oauth/step-3.tsx index 98bc6dd..89bb054 100644 --- a/pages/onedrive-vercel-index-oauth/step-3.tsx +++ b/pages/onedrive-vercel-index-oauth/step-3.tsx @@ -118,7 +118,7 @@ export default function OAuthStep3({ accessToken, expiryTime, refreshToken, erro {t('Whoops, looks like we got a problem: {{error}}.', { // t('No auth code present') - error: t(error) + error: t(error), })}

@@ -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(