Explorar el Código

chore: generate

GitHub Action hace 10 meses
padre
commit
a8f23fb548
Se han modificado 1 ficheros con 1 adiciones y 3 borrados
  1. 1 3
      packages/app/src/context/server.tsx

+ 1 - 3
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) {