Open-source, secure environment with real-world tools for enterprise-grade agents.
Python agentaiai-agentai-agentscode-interpretercopilotdevelopmentdevtoolsgptgpt-4javascriptllmnextjsopenaipythonreactsoftwaretypescript
added comment and resolved build error
Mish Ushakov051119676a30
diff --git a/apps/web/src/components/Dashboard/Keys.tsx b/apps/web/src/components/Dashboard/Keys.tsxindex 88c37d76e..54bec2451 100644--- a/apps/web/src/components/Dashboard/Keys.tsx+++ b/apps/web/src/components/Dashboard/Keys.tsx@@ -190,8 +190,9 @@ 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 [first, ...rest] = apiKeys+ const [_first, ...rest] = apiKeysreturn rest.sort((a, b) => {return new Date(b.createdAt).getTime() - new Date(a.createdAt).getTime()})