diff --git a/dashboard/src/legacy/components/CreateDeploymentTargetModal.tsx b/dashboard/src/legacy/components/CreateDeploymentTargetModal.tsx index beb3ffc3d9..2d9363c313 100644 --- a/dashboard/src/legacy/components/CreateDeploymentTargetModal.tsx +++ b/dashboard/src/legacy/components/CreateDeploymentTargetModal.tsx @@ -7,7 +7,7 @@ import { z } from "zod"; import { useDeploymentTargetList } from "../lib/hooks/useDeploymentTarget"; import { RestrictedNamespaces } from "../main/home/add-on-dashboard/legacy_AddOnDashboard"; import api from "../shared/api"; -import { Context } from "../shared/Context"; +import { Context } from "shared/Context"; import InputRow from "./form-components/InputRow"; import Button from "./porter/Button"; import Modal from "./porter/Modal"; diff --git a/dashboard/src/legacy/components/porter-form/PorterFormContextProvider.tsx b/dashboard/src/legacy/components/porter-form/PorterFormContextProvider.tsx index 438cdea3b8..6a1edf11c2 100644 --- a/dashboard/src/legacy/components/porter-form/PorterFormContextProvider.tsx +++ b/dashboard/src/legacy/components/porter-form/PorterFormContextProvider.tsx @@ -20,7 +20,7 @@ import { getFinalVariablesForKeyValueArray, getMetadata as getMetadataForKeyValueArray, } from "./field-components/KeyValueArray"; -import { Context } from "../../shared/Context"; +import { Context } from "shared/Context"; import { getFinalVariablesForArrayInput } from "./field-components/ArrayInput"; import { getFinalVariablesForCheckbox } from "./field-components/Checkbox"; import { getFinalVariablesForSelect } from "./field-components/Select"; diff --git a/dashboard/src/legacy/components/porter-form/field-components/Select.tsx b/dashboard/src/legacy/components/porter-form/field-components/Select.tsx index 4cb436ca28..b165ca943e 100644 --- a/dashboard/src/legacy/components/porter-form/field-components/Select.tsx +++ b/dashboard/src/legacy/components/porter-form/field-components/Select.tsx @@ -7,7 +7,7 @@ import { import Selector from "../../Selector"; import styled from "styled-components"; import useFormField from "../hooks/useFormField"; -import { Context } from "../../../shared/Context"; +import { Context } from "shared/Context"; import { hasSetValue } from "../utils"; const Select: React.FC = (props) => { diff --git a/dashboard/src/legacy/components/repo-selector/BranchList.tsx b/dashboard/src/legacy/components/repo-selector/BranchList.tsx index 550ad45298..25896e37a5 100644 --- a/dashboard/src/legacy/components/repo-selector/BranchList.tsx +++ b/dashboard/src/legacy/components/repo-selector/BranchList.tsx @@ -3,7 +3,7 @@ import branch_icon from "legacy/assets/branch.png"; import styled from "styled-components"; import api from "../../shared/api"; -import { Context } from "../../shared/Context"; +import { Context } from "shared/Context"; import { ActionConfigType } from "../../shared/types"; import Loading from "../Loading"; import SearchBar from "../SearchBar"; diff --git a/dashboard/src/legacy/components/repo-selector/ContentsList.tsx b/dashboard/src/legacy/components/repo-selector/ContentsList.tsx index 96bcd967d4..b62dec4890 100644 --- a/dashboard/src/legacy/components/repo-selector/ContentsList.tsx +++ b/dashboard/src/legacy/components/repo-selector/ContentsList.tsx @@ -6,7 +6,7 @@ import info from "legacy/assets/info.svg"; import styled from "styled-components"; import api from "../../shared/api"; -import { Context } from "../../shared/Context"; +import { Context } from "shared/Context"; import { ActionConfigType, FileType } from "../../shared/types"; import Loading from "../Loading"; diff --git a/dashboard/src/legacy/main/MainWrapper.tsx b/dashboard/src/legacy/main/MainWrapper.tsx index 33da8e453f..33a28f81ea 100644 --- a/dashboard/src/legacy/main/MainWrapper.tsx +++ b/dashboard/src/legacy/main/MainWrapper.tsx @@ -6,7 +6,7 @@ import { withRouter, type RouteComponentProps } from "react-router"; import AuthzProvider from "shared/auth/AuthzContext"; import AuthnProvider from "../shared/auth/AuthnContext"; -import { ContextProvider } from "../shared/Context"; +import { ContextProvider } from "shared/Context"; import Main from "./Main"; // required styles for Ory Elements import "@ory/elements/style.css"; diff --git a/dashboard/src/legacy/main/home/app-dashboard/apps/AppGrid.tsx b/dashboard/src/legacy/main/home/app-dashboard/apps/AppGrid.tsx index 102ef873a1..5c65e7d143 100644 --- a/dashboard/src/legacy/main/home/app-dashboard/apps/AppGrid.tsx +++ b/dashboard/src/legacy/main/home/app-dashboard/apps/AppGrid.tsx @@ -17,7 +17,7 @@ import { match } from "ts-pattern"; import { useDeploymentTarget } from "shared/DeploymentTargetContext"; -import { Context } from "../../../../shared/Context"; +import { Context } from "shared/Context"; import { Addon } from "./Addon"; import { AppIcon, AppSource } from "./AppMeta"; import { type AppRevisionWithSource } from "./types"; diff --git a/dashboard/src/legacy/main/home/integrations/GitlabIntegrationList.tsx b/dashboard/src/legacy/main/home/integrations/GitlabIntegrationList.tsx index acba9e5c16..f975b734cf 100644 --- a/dashboard/src/legacy/main/home/integrations/GitlabIntegrationList.tsx +++ b/dashboard/src/legacy/main/home/integrations/GitlabIntegrationList.tsx @@ -5,7 +5,7 @@ import styled from "styled-components"; import ConfirmOverlay from "../../../components/ConfirmOverlay"; import api from "../../../shared/api"; -import { Context } from "../../../shared/Context"; +import { Context } from "shared/Context"; interface Props { gitlabData: any[]; diff --git a/dashboard/src/legacy/main/home/launch/launch-flow/WorkflowPage.tsx b/dashboard/src/legacy/main/home/launch/launch-flow/WorkflowPage.tsx index fb2df1ce0f..895f1369f5 100644 --- a/dashboard/src/legacy/main/home/launch/launch-flow/WorkflowPage.tsx +++ b/dashboard/src/legacy/main/home/launch/launch-flow/WorkflowPage.tsx @@ -1,7 +1,7 @@ import React, { useContext, useEffect, useState } from "react"; import { FullActionConfigType } from "../../../../shared/types"; import api from "../../../../shared/api"; -import { Context } from "../../../../shared/Context"; +import { Context } from "shared/Context"; import styled from "styled-components"; import YamlEditor from "../../../../components/YamlEditor"; import Loading from "../../../../components/Loading"; diff --git a/dashboard/src/legacy/main/home/modals/AccountSettingsModal.tsx b/dashboard/src/legacy/main/home/modals/AccountSettingsModal.tsx index a9b885454c..30093bc215 100644 --- a/dashboard/src/legacy/main/home/modals/AccountSettingsModal.tsx +++ b/dashboard/src/legacy/main/home/modals/AccountSettingsModal.tsx @@ -9,7 +9,7 @@ import styled from "styled-components"; import Loading from "../../../components/Loading"; import api from "../../../shared/api"; -import { Context } from "../../../shared/Context"; +import { Context } from "shared/Context"; interface GithubAppAccessData { username?: string; diff --git a/dashboard/src/legacy/main/home/project-settings/Metadata.tsx b/dashboard/src/legacy/main/home/project-settings/Metadata.tsx index fea596e42c..b3a29c7450 100644 --- a/dashboard/src/legacy/main/home/project-settings/Metadata.tsx +++ b/dashboard/src/legacy/main/home/project-settings/Metadata.tsx @@ -17,7 +17,7 @@ import styled from "styled-components"; import Loading from "../../../components/Loading"; import api from "../../../shared/api"; -import { Context } from "../../../shared/Context"; +import { Context } from "shared/Context"; type Props = {};