From 331b3cd93cf16fe609549eacdb3be901c8dcc945 Mon Sep 17 00:00:00 2001 From: Salil Ponde Date: Sun, 24 Dec 2023 12:16:48 +0530 Subject: [PATCH] Removed unused imports --- .../app/compose-library/create-filesystem-compose-project.tsx | 2 +- web/src/app/compose-library/create-github-compose-project.tsx | 2 +- web/src/app/compose-library/edit-filesystem-compose-project.tsx | 2 +- web/src/app/compose-library/edit-github-compose-project.tsx | 2 +- web/src/app/compose/add-github-compose.tsx | 2 +- web/src/app/compose/add-local-compose.tsx | 2 +- web/src/app/compose/compose/definition-github.tsx | 2 +- web/src/lib/utils.ts | 1 - 8 files changed, 7 insertions(+), 8 deletions(-) diff --git a/web/src/app/compose-library/create-filesystem-compose-project.tsx b/web/src/app/compose-library/create-filesystem-compose-project.tsx index e3954e6..adadd3d 100644 --- a/web/src/app/compose-library/create-filesystem-compose-project.tsx +++ b/web/src/app/compose-library/create-filesystem-compose-project.tsx @@ -35,7 +35,7 @@ import { Section, SectionBody, } from "@/components/widgets/main-container" -import Editor, { loader, OnMount } from "@monaco-editor/react" +import Editor, { OnMount } from "@monaco-editor/react" import type monaco from "monaco-editor" import { Input } from "@/components/ui/input" import { toast } from "@/components/ui/use-toast" diff --git a/web/src/app/compose-library/create-github-compose-project.tsx b/web/src/app/compose-library/create-github-compose-project.tsx index 806fdbd..5dde0a9 100644 --- a/web/src/app/compose-library/create-github-compose-project.tsx +++ b/web/src/app/compose-library/create-github-compose-project.tsx @@ -35,7 +35,7 @@ import { Section, SectionBody, } from "@/components/widgets/main-container" -import Editor, { loader, OnMount } from "@monaco-editor/react" +import Editor, { OnMount } from "@monaco-editor/react" import type monaco from "monaco-editor" import { Input } from "@/components/ui/input" import { toast } from "@/components/ui/use-toast" diff --git a/web/src/app/compose-library/edit-filesystem-compose-project.tsx b/web/src/app/compose-library/edit-filesystem-compose-project.tsx index 60414f9..44176d4 100644 --- a/web/src/app/compose-library/edit-filesystem-compose-project.tsx +++ b/web/src/app/compose-library/edit-filesystem-compose-project.tsx @@ -35,7 +35,7 @@ import { Section, SectionBody, } from "@/components/widgets/main-container" -import Editor, { OnMount, loader } from "@monaco-editor/react" +import Editor, { OnMount } from "@monaco-editor/react" import type monaco from "monaco-editor" import { Input } from "@/components/ui/input" import DeleteComposeDialog from "./dialogs/delete-compose-dialog" diff --git a/web/src/app/compose-library/edit-github-compose-project.tsx b/web/src/app/compose-library/edit-github-compose-project.tsx index 7ac06d1..ecbbe70 100644 --- a/web/src/app/compose-library/edit-github-compose-project.tsx +++ b/web/src/app/compose-library/edit-github-compose-project.tsx @@ -35,7 +35,7 @@ import { Section, SectionBody, } from "@/components/widgets/main-container" -import Editor, { loader, OnMount } from "@monaco-editor/react" +import Editor, { OnMount } from "@monaco-editor/react" import type monaco from "monaco-editor" import { Input } from "@/components/ui/input" import { toast } from "@/components/ui/use-toast" diff --git a/web/src/app/compose/add-github-compose.tsx b/web/src/app/compose/add-github-compose.tsx index 068229f..2e1158b 100644 --- a/web/src/app/compose/add-github-compose.tsx +++ b/web/src/app/compose/add-github-compose.tsx @@ -35,7 +35,7 @@ import { Section, SectionBody, } from "@/components/widgets/main-container" -import Editor, { loader, OnMount } from "@monaco-editor/react" +import Editor, { OnMount } from "@monaco-editor/react" import type monaco from "monaco-editor" import { Input } from "@/components/ui/input" import { toast } from "@/components/ui/use-toast" diff --git a/web/src/app/compose/add-local-compose.tsx b/web/src/app/compose/add-local-compose.tsx index 0e31770..2bb2fe8 100644 --- a/web/src/app/compose/add-local-compose.tsx +++ b/web/src/app/compose/add-local-compose.tsx @@ -35,7 +35,7 @@ import { Section, SectionBody, } from "@/components/widgets/main-container" -import Editor, { loader, OnMount } from "@monaco-editor/react" +import Editor, { OnMount } from "@monaco-editor/react" import type monaco from "monaco-editor" import { Input } from "@/components/ui/input" import { toast } from "@/components/ui/use-toast" diff --git a/web/src/app/compose/compose/definition-github.tsx b/web/src/app/compose/compose/definition-github.tsx index 90b14b5..e1802b0 100644 --- a/web/src/app/compose/compose/definition-github.tsx +++ b/web/src/app/compose/compose/definition-github.tsx @@ -35,7 +35,7 @@ import { Section, SectionBody, } from "@/components/widgets/main-container" -import Editor, { loader, OnMount } from "@monaco-editor/react" +import Editor, { OnMount } from "@monaco-editor/react" import type monaco from "monaco-editor" import { Input } from "@/components/ui/input" import { toast } from "@/components/ui/use-toast" diff --git a/web/src/lib/utils.ts b/web/src/lib/utils.ts index b99ffa6..8d6095d 100644 --- a/web/src/lib/utils.ts +++ b/web/src/lib/utils.ts @@ -2,7 +2,6 @@ import { Terminal } from "@xterm/xterm" import { type ClassValue, clsx } from "clsx" import { twMerge } from "tailwind-merge" import { loader } from "@monaco-editor/react" -import apiBaseUrl from "./api-base-url" export const REGEX_IDENTIFIER = /^[a-zA-Z0-9][a-zA-Z0-9_-]*$/ export const REGEX_IDENTIFIER_MESSAGE =