Skip to content

armgit / E2B

Public Imported from GitHub
0

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

Remove .ts & .tsx

Jakub Novakcd9222568b99
diff --git a/apps/dashboard/components/Settings.tsx b/apps/dashboard/components/Settings.tsx
index 27d0342a8..55c65fb94 100644
--- a/apps/dashboard/components/Settings.tsx
+++ b/apps/dashboard/components/Settings.tsx
@@ -1,4 +1,4 @@
-import APIKey from './Settings/APIKey.tsx'
+import APIKey from './Settings/APIKey'
export interface Props {
diff --git a/apps/dashboard/components/Settings/APIKey.tsx b/apps/dashboard/components/Settings/APIKey.tsx
index 863734390..da719b0e6 100644
--- a/apps/dashboard/components/Settings/APIKey.tsx
+++ b/apps/dashboard/components/Settings/APIKey.tsx
@@ -1,4 +1,3 @@
-'use client'
import { CopyIcon } from 'lucide-react'
interface Props {
diff --git a/apps/dashboard/pages/settings/index.tsx b/apps/dashboard/pages/settings/index.tsx
index bc2066cad..caa1c33ee 100644
--- a/apps/dashboard/pages/settings/index.tsx
+++ b/apps/dashboard/pages/settings/index.tsx
@@ -4,8 +4,8 @@ import { createServerSupabaseClient } from '@supabase/auth-helpers-nextjs'
import { prisma } from 'db/prisma'
import { serverCreds } from 'db/credentials'
import Settings from 'components/Settings'
-import { client as posthog } from '../../utils/posthog.ts'
-import { generateApiKey } from '../../utils/apiKey.ts'
+import { client as posthog } from 'utils/posthog'
+import { generateApiKey } from 'utils/apiKey'
export const getServerSideProps: GetServerSideProps<Props> = async (ctx) => {
const supabase = createServerSupabaseClient(ctx, serverCreds)