Skip to content

The open source coding agent.

TypeScript

chore: generate

GitHub Actiona8f23fb54812
diff --git a/packages/app/src/context/server.tsx b/packages/app/src/context/server.tsx
index 4cfe9cc2747..8945cd37e9e 100644
--- a/packages/app/src/context/server.tsx
+++ b/packages/app/src/context/server.tsx
@@ -16,9 +16,7 @@ export function normalizeServerUrl(input: string) {
export function serverDisplayName(url: string) {
if (!url) return ""
- return url
- .replace(/^https?:\/\//, "")
- .replace(/\/+$/, "")
+ return url.replace(/^https?:\/\//, "").replace(/\/+$/, "")
}
function projectsKey(url: string) {