diff --git a/packages/shared/package.json b/packages/shared/package.json index 08903bc45..92282b257 100644 --- a/packages/shared/package.json +++ b/packages/shared/package.json @@ -1,7 +1,7 @@ { "name": "@odf-console/shared", "description": "ODF console shared code.", - "version": "0.0.0-beta12", + "version": "0.0.0-beta13", "license": "Apache-2.0", "private": false, "main": "src/index.ts", diff --git a/packages/shared/src/details-page/datetime.ts b/packages/shared/src/details-page/datetime.ts index 4b98038f0..0b48e0041 100644 --- a/packages/shared/src/details-page/datetime.ts +++ b/packages/shared/src/details-page/datetime.ts @@ -109,9 +109,7 @@ export const fromNow = (dateTime: string | Date, now?: Date, options?) => { const d = new Date(dateTime); const ms = now.getTime() - d.getTime(); - const justNow = i18n.t('plugin__odf-console~Just now', { - ns: 'plugin__odf-console', - }); + const justNow = i18n.t('Just now'); // If the event occurred less than one minute in the future, assume it's clock drift and show "Just now." if (!options?.omitSuffix && ms < 60000 && ms > maxClockSkewMS) { diff --git a/packages/shared/src/text-inputs/password-input.tsx b/packages/shared/src/text-inputs/password-input.tsx index b768c709d..0f3bfe475 100644 --- a/packages/shared/src/text-inputs/password-input.tsx +++ b/packages/shared/src/text-inputs/password-input.tsx @@ -28,13 +28,7 @@ const PasswordInput: React.FC = ({ onChange={onChange} isRequired={isRequired} /> - +