Shared: removed useless constant

This commit is contained in:
Alexey Safronov 2024-07-18 18:27:53 +04:00
parent 265556ff6a
commit c056f494ee
3 changed files with 2 additions and 4 deletions

View File

@ -29,8 +29,6 @@ import { headers } from "next/headers";
import { getSelectorsByUserAgent } from "react-device-detect";
import { BRAND_NAME } from "@docspace/shared/constants";
import { getData } from "@/utils/actions";
import { RootPageProps } from "@/types";
import Root from "@/components/Root";
@ -45,6 +43,8 @@ const initialSearchParams: RootPageProps["searchParams"] = {
editorType: undefined,
};
const BRAND_NAME = "ONLYOFFICE"; //TODO: replace to t("Common:OrganizationName");
export const metadata: Metadata = {
title: `${BRAND_NAME} DocEditor page`,

View File

@ -171,7 +171,6 @@ export const HTML_EXST = [".htm", ".mht", ".html"];
export const SYSTEM_THEME_KEY = "system_theme";
export const PRODUCT_NAME = "DocSpace";
export const BRAND_NAME = "ONLYOFFICE";
const SDK_VERSION = "1.0.0";
export const SDK_SCRIPT_URL =

View File

@ -78,7 +78,6 @@ import {
COOKIE_EXPIRATION_YEAR,
MEDIA_VIEW_URL,
WRONG_PORTAL_NAME_URL,
BRAND_NAME,
} from "../constants";
import { Dark, Base, TColorScheme } from "../themes";
import { toastr } from "../components/toast";