Login:Src:Components: remove PRODUCT_NAME
This commit is contained in:
parent
c8e6a1c105
commit
c2bda32621
@ -29,7 +29,6 @@ import { useTranslation, Trans } from "react-i18next";
|
|||||||
import { ColorTheme, ThemeId } from "@docspace/shared/components/color-theme";
|
import { ColorTheme, ThemeId } from "@docspace/shared/components/color-theme";
|
||||||
import { IconButton } from "@docspace/shared/components/icon-button";
|
import { IconButton } from "@docspace/shared/components/icon-button";
|
||||||
import { Text } from "@docspace/shared/components/text";
|
import { Text } from "@docspace/shared/components/text";
|
||||||
import { PRODUCT_NAME } from "@docspace/shared/constants";
|
|
||||||
|
|
||||||
import ArrowIcon from "PUBLIC_DIR/images/arrow.left.react.svg?url";
|
import ArrowIcon from "PUBLIC_DIR/images/arrow.left.react.svg?url";
|
||||||
|
|
||||||
|
@ -33,7 +33,6 @@ import { useTranslation } from "react-i18next";
|
|||||||
import { useTheme } from "styled-components";
|
import { useTheme } from "styled-components";
|
||||||
|
|
||||||
import { Text } from "@docspace/shared/components/text";
|
import { Text } from "@docspace/shared/components/text";
|
||||||
import { PRODUCT_NAME } from "@docspace/shared/constants";
|
|
||||||
import { WhiteLabelLogoType } from "@docspace/shared/enums";
|
import { WhiteLabelLogoType } from "@docspace/shared/enums";
|
||||||
import { getLogoUrl } from "@docspace/shared/utils/common";
|
import { getLogoUrl } from "@docspace/shared/utils/common";
|
||||||
|
|
||||||
@ -59,7 +58,7 @@ export const GreetingContainer = ({
|
|||||||
className="greeting-title"
|
className="greeting-title"
|
||||||
>
|
>
|
||||||
{welcomeTitle
|
{welcomeTitle
|
||||||
? t(`${welcomeTitle}`, { productName: PRODUCT_NAME })
|
? t(`${welcomeTitle}`, { productName: t("Common:ProductName") })
|
||||||
: greetingSettings}
|
: greetingSettings}
|
||||||
</Text>
|
</Text>
|
||||||
)}
|
)}
|
||||||
|
@ -33,7 +33,6 @@ import { Trans, useTranslation } from "react-i18next";
|
|||||||
import { useTheme } from "styled-components";
|
import { useTheme } from "styled-components";
|
||||||
|
|
||||||
import { Text } from "@docspace/shared/components/text";
|
import { Text } from "@docspace/shared/components/text";
|
||||||
import { PRODUCT_NAME } from "@docspace/shared/constants";
|
|
||||||
import { getLogoUrl } from "@docspace/shared/utils";
|
import { getLogoUrl } from "@docspace/shared/utils";
|
||||||
import { WhiteLabelLogoType } from "@docspace/shared/enums";
|
import { WhiteLabelLogoType } from "@docspace/shared/enums";
|
||||||
|
|
||||||
|
@ -46,7 +46,6 @@ import { useTranslation } from "react-i18next";
|
|||||||
import {
|
import {
|
||||||
COOKIE_EXPIRATION_YEAR,
|
COOKIE_EXPIRATION_YEAR,
|
||||||
LANGUAGE,
|
LANGUAGE,
|
||||||
PRODUCT_NAME,
|
|
||||||
} from "@docspace/shared/constants";
|
} from "@docspace/shared/constants";
|
||||||
import { EmailSettings } from "@docspace/shared/utils";
|
import { EmailSettings } from "@docspace/shared/utils";
|
||||||
import {
|
import {
|
||||||
@ -274,7 +273,7 @@ function WizardForm(props: WizardFormProps) {
|
|||||||
return (
|
return (
|
||||||
<WizardContainer>
|
<WizardContainer>
|
||||||
<Text fontWeight={600} fontSize="16px" className="form-header">
|
<Text fontWeight={600} fontSize="16px" className="form-header">
|
||||||
{t("Wizard:Desc", { productName: PRODUCT_NAME })}
|
{t("Wizard:Desc", { productName: t("Common:ProductName") })}
|
||||||
</Text>
|
</Text>
|
||||||
<FieldContainer
|
<FieldContainer
|
||||||
className="wizard-field"
|
className="wizard-field"
|
||||||
|
Loading…
Reference in New Issue
Block a user