Skip to content

Commit a08aa21

Browse files
chore: generate
1 parent eb99064 commit a08aa21

File tree

1 file changed

+13
-2
lines changed
  • packages/desktop-electron/src/renderer

1 file changed

+13
-2
lines changed

packages/desktop-electron/src/renderer/index.tsx

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,10 @@ const createPlatform = (): Platform => {
5757

5858
const isWslEnabled = async () => {
5959
if (os !== "windows") return false
60-
return window.api.getWslConfig().then((config) => config.enabled).catch(() => false)
60+
return window.api
61+
.getWslConfig()
62+
.then((config) => config.enabled)
63+
.catch(() => false)
6164
}
6265

6366
const wslHome = async () => {
@@ -327,7 +330,15 @@ render(() => {
327330
return (
328331
<PlatformProvider value={platform}>
329332
<AppBaseProviders locale={locale.latest}>
330-
<Show when={!defaultServer.loading && !sidecar.loading && !windowConfig.loading && !windowCount.loading && !locale.loading}>
333+
<Show
334+
when={
335+
!defaultServer.loading &&
336+
!sidecar.loading &&
337+
!windowConfig.loading &&
338+
!windowCount.loading &&
339+
!locale.loading
340+
}
341+
>
331342
{(_) => {
332343
return (
333344
<AppInterface

0 commit comments

Comments
 (0)