Browse Source

chore: generate

opencode-agent[bot] 3 weeks ago
parent
commit
732a3dab8c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/app/src/components/dialog-select-server.tsx

+ 1 - 1
packages/app/src/components/dialog-select-server.tsx

@@ -369,7 +369,7 @@ export function DialogSelectServer() {
 
   async function handleRemove(url: string) {
     server.remove(url)
-    if (await platform.getDefaultServerUrl?.() === url) {
+    if ((await platform.getDefaultServerUrl?.()) === url) {
       platform.setDefaultServerUrl?.(null)
     }
   }