Skip to content

armgit / E2B

Public Imported from GitHub
0

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

fixes build, sorry

Mish Ushakov647cd44916c4
diff --git a/apps/web/src/components/Dashboard/Keys.tsx b/apps/web/src/components/Dashboard/Keys.tsx
index 54bec2451..4c1c9d522 100644
--- a/apps/web/src/components/Dashboard/Keys.tsx
+++ b/apps/web/src/components/Dashboard/Keys.tsx
@@ -192,7 +192,7 @@ export const KeysContent = ({
// remove the first API key from the list (for legacy reasons) and sort the rest by creation date
const sortedApiKeys = useMemo(() => {
- const [_first, ...rest] = apiKeys
+ const rest = apiKeys.slice(1)
return rest.sort((a, b) => {
return new Date(b.createdAt).getTime() - new Date(a.createdAt).getTime()
})