The open source coding agent.
TypeScript
fix(desktop): remove split operation in serverDisplayName function (#7397)
OpeOginni1a642a79a661
diff --git a/packages/app/src/context/server.tsx b/packages/app/src/context/server.tsxindex 06c37b59291..4cfe9cc2747 100644--- a/packages/app/src/context/server.tsx+++ b/packages/app/src/context/server.tsx@@ -19,7 +19,6 @@ export function serverDisplayName(url: string) {return url.replace(/^https?:\/\//, "").replace(/\/+$/, "")- .split("/")[0]}function projectsKey(url: string) {