Skip to content

armgit / E2B

Public Imported from GitHub
0

Open-source, secure environment with real-world tools for enterprise-grade agents.

Cleanup

Tomas Valenta2ac2cf1be5db
diff --git a/components/Editor/Code.tsx b/components/Editor/Code.tsx
deleted file mode 100644
index adf435716..000000000
--- a/components/Editor/Code.tsx
+++ /dev/null
@@ -1,25 +0,0 @@
-export interface Props {
- code: string
-}
-
-function Code({ code }: Props) {
- return (
- <div className="
- flex
- flex-col
- bg-white
- overflow-y-auto
- text-xs
- leading-4
- break-words
- w-[250px]
- whitespace-normal
- space-y-2
- p-4
- ">
- {code}
- </div>
- )
-}
-
-export default Code
\ No newline at end of file
diff --git a/components/Editor/Logs.tsx b/components/Editor/Logs.tsx
index b17ec35f3..b5a9dfc1f 100644
--- a/components/Editor/Logs.tsx
+++ b/components/Editor/Logs.tsx
@@ -1,4 +1,4 @@
-import Ansi from "ansi-to-react"
+import Ansi from 'ansi-to-react'
import { Log } from '.'
import { Fragment } from 'react'
diff --git a/pages/new.tsx b/pages/new.tsx
index d5d9d7be3..76c8a2fcd 100644
--- a/pages/new.tsx
+++ b/pages/new.tsx
@@ -43,7 +43,6 @@ function NewProject() {
const [err, setErr] = useState<string>()
const router = useRouter()
-
const {
trigger: createProject,
} = useSWRMutation('/api/project', handlePostProject)