Open-source, secure environment with real-world tools for enterprise-grade agents.
Python agentaiai-agentai-agentscode-interpretercopilotdevelopmentdevtoolsgptgpt-4javascriptllmnextjsopenaipythonreactsoftwaretypescript
undo last change to api keys to avoid confusion
Mish Ushakovb5e6894c128e
diff --git a/apps/web/src/components/Dashboard/Keys.tsx b/apps/web/src/components/Dashboard/Keys.tsxindex 4bcd51cbe..8db103ca0 100644--- a/apps/web/src/components/Dashboard/Keys.tsx+++ b/apps/web/src/components/Dashboard/Keys.tsx@@ -190,10 +190,8 @@ export const KeysContent = ({setIsKeyDialogOpen(false)}- // remove the first API key from the list (for legacy reasons) and sort the rest by creation dateconst sortedApiKeys = useMemo(() => {- const rest = apiKeys.slice(1)- return rest.sort((a, b) => {+ return apiKeys.sort((a, b) => {return new Date(b.createdAt).getTime() - new Date(a.createdAt).getTime()})}, [apiKeys])