From ad48ea5a3ffa616c6b9b6a1062154a5d7252da19 Mon Sep 17 00:00:00 2001 From: Simon Larsen Date: Tue, 9 Jul 2024 13:55:59 +0100 Subject: [PATCH] chore: Update import paths for CodeRepository to CopilotCodeRepository --- .../src/Pages/AICopilot/CodeRepository/View/Delete.tsx | 2 +- .../src/Pages/AICopilot/CodeRepository/View/Index.tsx | 2 +- .../src/Pages/AICopilot/CodeRepository/View/Layout.tsx | 8 ++++---- .../src/Pages/AICopilot/CodeRepository/View/Settings.tsx | 2 +- Dashboard/src/Pages/AICopilot/Index.tsx | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Dashboard/src/Pages/AICopilot/CodeRepository/View/Delete.tsx b/Dashboard/src/Pages/AICopilot/CodeRepository/View/Delete.tsx index 359f5f45936..141822b8027 100644 --- a/Dashboard/src/Pages/AICopilot/CodeRepository/View/Delete.tsx +++ b/Dashboard/src/Pages/AICopilot/CodeRepository/View/Delete.tsx @@ -5,7 +5,7 @@ import Route from "Common/Types/API/Route"; import ObjectID from "Common/Types/ObjectID"; import ModelDelete from "CommonUI/src/Components/ModelDelete/ModelDelete"; import Navigation from "CommonUI/src/Utils/Navigation"; -import CodeRepository from "Model/Models/CodeRepository"; +import CodeRepository from "Model/Models/CopilotCodeRepository"; import React, { Fragment, FunctionComponent, ReactElement } from "react"; const CodeRepositoryDelete: FunctionComponent< diff --git a/Dashboard/src/Pages/AICopilot/CodeRepository/View/Index.tsx b/Dashboard/src/Pages/AICopilot/CodeRepository/View/Index.tsx index 931d4b62bca..90f17c4b7d9 100644 --- a/Dashboard/src/Pages/AICopilot/CodeRepository/View/Index.tsx +++ b/Dashboard/src/Pages/AICopilot/CodeRepository/View/Index.tsx @@ -7,7 +7,7 @@ import CardModelDetail from "CommonUI/src/Components/ModelDetail/CardModelDetail import FieldType from "CommonUI/src/Components/Types/FieldType"; import DropdownUtil from "CommonUI/src/Utils/Dropdown"; import Navigation from "CommonUI/src/Utils/Navigation"; -import CodeRepository from "Model/Models/CodeRepository"; +import CodeRepository from "Model/Models/CopilotCodeRepository"; import Label from "Model/Models/Label"; import React, { Fragment, FunctionComponent, ReactElement } from "react"; diff --git a/Dashboard/src/Pages/AICopilot/CodeRepository/View/Layout.tsx b/Dashboard/src/Pages/AICopilot/CodeRepository/View/Layout.tsx index 3a2a00d5e18..1b3c9ab0522 100644 --- a/Dashboard/src/Pages/AICopilot/CodeRepository/View/Layout.tsx +++ b/Dashboard/src/Pages/AICopilot/CodeRepository/View/Layout.tsx @@ -5,11 +5,11 @@ import SideMenu from "./SideMenu"; import ObjectID from "Common/Types/ObjectID"; import ModelPage from "CommonUI/src/Components/Page/ModelPage"; import Navigation from "CommonUI/src/Utils/Navigation"; -import CodeRepository from "Model/Models/CodeRepository"; +import CopilotCodeRepository from "Model/Models/CopilotCodeRepository"; import React, { FunctionComponent, ReactElement } from "react"; import { Outlet, useParams } from "react-router-dom"; -const CodeRepositoryViewLayout: FunctionComponent< +const CopilotCodeRepositoryViewLayout: FunctionComponent< PageComponentProps > = (): ReactElement => { const { id } = useParams(); @@ -18,7 +18,7 @@ const CodeRepositoryViewLayout: FunctionComponent< return (