Quellcode durchsuchen

chore: generate

opencode-agent[bot] vor 3 Monaten
Ursprung
Commit
a08aa21cb3
1 geänderte Dateien mit 13 neuen und 2 gelöschten Zeilen
  1. 13 2
      packages/desktop-electron/src/renderer/index.tsx

+ 13 - 2
packages/desktop-electron/src/renderer/index.tsx

@@ -57,7 +57,10 @@ const createPlatform = (): Platform => {
 
   const isWslEnabled = async () => {
     if (os !== "windows") return false
-    return window.api.getWslConfig().then((config) => config.enabled).catch(() => false)
+    return window.api
+      .getWslConfig()
+      .then((config) => config.enabled)
+      .catch(() => false)
   }
 
   const wslHome = async () => {
@@ -327,7 +330,15 @@ render(() => {
   return (
     <PlatformProvider value={platform}>
       <AppBaseProviders locale={locale.latest}>
-        <Show when={!defaultServer.loading && !sidecar.loading && !windowConfig.loading && !windowCount.loading && !locale.loading}>
+        <Show
+          when={
+            !defaultServer.loading &&
+            !sidecar.loading &&
+            !windowConfig.loading &&
+            !windowCount.loading &&
+            !locale.loading
+          }
+        >
           {(_) => {
             return (
               <AppInterface