Browse Source

chore: generate

opencode-agent[bot] 2 months ago
parent
commit
4759ae44b4
1 changed files with 5 additions and 1 deletions
  1. 5 1
      packages/app/src/context/server-sync.tsx

+ 5 - 1
packages/app/src/context/server-sync.tsx

@@ -207,7 +207,11 @@ export function createServerSyncContext() {
       void bootstrapInstance(directory)
     },
     onMcp: (directory, setStore) => {
-      void retry(() => sdkFor(directory).command.list().then((x) => setStore("command", x.data ?? []))).catch((err) => {
+      void retry(() =>
+        sdkFor(directory)
+          .command.list()
+          .then((x) => setStore("command", x.data ?? [])),
+      ).catch((err) => {
         showToast({
           variant: "error",
           title: language.t("toast.project.reloadFailed.title", { project: getFilename(directory) }),