Skip to content

armgit / E2B

Public Imported from GitHub
0

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

order the packages better

0divcd3e01c7970e
diff --git a/apps/web/src/components/Navigation/routes.tsx b/apps/web/src/components/Navigation/routes.tsx
index 711490971..54dd2377a 100644
--- a/apps/web/src/components/Navigation/routes.tsx
+++ b/apps/web/src/components/Navigation/routes.tsx
@@ -452,7 +452,13 @@ export const docRoutes: NavGroup[] = [
export const sdkRefRoutes: VersionedNavGroup[] = (
sdkRefRoutesJson as VersionedNavGroup[]
).sort((a, b) => {
- const order = { CLI: 1, 'JS-SDK': 2, 'PYTHON-SDK': 3 }
+ const order = {
+ CLI: 1,
+ 'JS-SDK': 2,
+ 'PYTHON-SDK': 3,
+ 'DESKTOP-JS-SDK': 4,
+ 'DESKTOP-PYTHON-SDK': 5,
+ }
const aOrder = order[a.title || ''] || 999
const bOrder = order[b.title || ''] || 999
return aOrder - bOrder