diff options
| author | GitHub Action <[email protected]> | 2025-12-09 09:17:36 +0000 |
|---|---|---|
| committer | GitHub Action <[email protected]> | 2025-12-09 09:17:36 +0000 |
| commit | ff6f1abf619d3d02808db7ffded960023d3d9b0e (patch) | |
| tree | cad9970db52fa6b6ba1c2dff4799c7cbd0aba078 /packages/tauri/src/index.tsx | |
| parent | 331278a5be0ff1bd6c484ba28ae60afb4d40e207 (diff) | |
| download | opencode-ff6f1abf619d3d02808db7ffded960023d3d9b0e.tar.gz opencode-ff6f1abf619d3d02808db7ffded960023d3d9b0e.zip | |
chore: format code
Diffstat (limited to 'packages/tauri/src/index.tsx')
| -rw-r--r-- | packages/tauri/src/index.tsx | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/packages/tauri/src/index.tsx b/packages/tauri/src/index.tsx index 17a45a5e9..4e23241ec 100644 --- a/packages/tauri/src/index.tsx +++ b/packages/tauri/src/index.tsx @@ -1,8 +1,8 @@ // @refresh reload import { render } from "solid-js/web" import { DesktopInterface, PlatformProvider, Platform } from "@opencode-ai/desktop" -import { runUpdater } from "./updater"; -import { onMount } from "solid-js"; +import { runUpdater } from "./updater" +import { onMount } from "solid-js" const root = document.getElementById("root") if (import.meta.env.DEV && !(root instanceof HTMLElement)) { @@ -13,15 +13,14 @@ if (import.meta.env.DEV && !(root instanceof HTMLElement)) { const platform: Platform = {} -render( - () => { - onMount(() => { - if(window.__OPENCODE__.updaterEnabled) runUpdater(); - }); +render(() => { + onMount(() => { + if (window.__OPENCODE__.updaterEnabled) runUpdater() + }) - return <PlatformProvider value={platform}> + return ( + <PlatformProvider value={platform}> <DesktopInterface /> </PlatformProvider> - }, - root!, -) + ) +}, root!) |
