diff --git a/apps/web/app/(all)/[workspaceSlug]/layout.tsx b/apps/web/app/(all)/[workspaceSlug]/layout.tsx index 293688673a..f093efe76d 100644 --- a/apps/web/app/(all)/[workspaceSlug]/layout.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/layout.tsx @@ -7,7 +7,7 @@ import { Outlet } from "react-router"; import { AuthenticationWrapper } from "@/lib/wrappers/authentication-wrapper"; import { WorkspaceContentWrapper } from "@/plane-web/components/workspace/content-wrapper"; -import { AppRailVisibilityProvider } from "@/plane-web/hooks/app-rail"; +import { AppRailVisibilityProvider } from "@/lib/app-rail"; import { GlobalModals } from "@/plane-web/components/common/modal/global"; import { WorkspaceAuthWrapper } from "@/layouts/auth-layout/workspace-wrapper"; import type { Route } from "./+types/layout"; diff --git a/apps/web/ce/hooks/app-rail/index.ts b/apps/web/ce/hooks/app-rail/index.ts deleted file mode 100644 index d46b5c917e..0000000000 --- a/apps/web/ce/hooks/app-rail/index.ts +++ /dev/null @@ -1,7 +0,0 @@ -/** - * Copyright (c) 2023-present Plane Software, Inc. and contributors - * SPDX-License-Identifier: AGPL-3.0-only - * See the LICENSE file for details. - */ - -export * from "./provider"; diff --git a/apps/web/ce/hooks/app-rail/provider.tsx b/apps/web/ce/hooks/app-rail/provider.tsx deleted file mode 100644 index 029f5a8353..0000000000 --- a/apps/web/ce/hooks/app-rail/provider.tsx +++ /dev/null @@ -1,23 +0,0 @@ -/** - * Copyright (c) 2023-present Plane Software, Inc. and contributors - * SPDX-License-Identifier: AGPL-3.0-only - * See the LICENSE file for details. - */ - -import React from "react"; -import { observer } from "mobx-react"; -import { AppRailVisibilityProvider as CoreProvider } from "@/lib/app-rail"; - -interface AppRailVisibilityProviderProps { - children: React.ReactNode; -} - -/** - * CE AppRailVisibilityProvider - * Wraps core provider with isEnabled hardcoded to false - */ -export const AppRailVisibilityProvider = observer(function AppRailVisibilityProvider({ - children, -}: AppRailVisibilityProviderProps) { - return {children}; -}); diff --git a/apps/web/ce/hooks/pages/use-extended-editor-extensions.ts b/apps/web/ce/hooks/pages/use-extended-editor-extensions.ts index cc3b0a213e..e64837db4a 100644 --- a/apps/web/ce/hooks/pages/use-extended-editor-extensions.ts +++ b/apps/web/ce/hooks/pages/use-extended-editor-extensions.ts @@ -7,7 +7,7 @@ import type { IEditorPropsExtended } from "@plane/editor"; import type { TSearchEntityRequestPayload, TSearchResponse } from "@plane/types"; import type { TPageInstance } from "@/store/pages/base-page"; -import type { EPageStoreType } from "../store"; +import type { EPageStoreType } from "@/hooks/store"; export type TExtendedEditorExtensionsHookParams = { workspaceSlug: string; diff --git a/apps/web/ce/hooks/store/index.ts b/apps/web/ce/hooks/store/index.ts deleted file mode 100644 index 9b0a16c412..0000000000 --- a/apps/web/ce/hooks/store/index.ts +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Copyright (c) 2023-present Plane Software, Inc. and contributors - * SPDX-License-Identifier: AGPL-3.0-only - * See the LICENSE file for details. - */ - -export * from "@/hooks/store/use-page-store"; -export * from "@/hooks/store/use-page";