Skip to content

Commit 019cfd4

Browse files
chore: generate
1 parent 687210a commit 019cfd4

3 files changed

Lines changed: 2 additions & 5 deletions

File tree

packages/app/src/app.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@ function ServerKey(props: ParentProps) {
8484
)
8585
}
8686

87-
8887
export function AppInterface(props: { defaultUrl?: string; children?: JSX.Element; isSidecar?: boolean }) {
8988
const platform = usePlatform()
9089

packages/app/src/context/server.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ function projectsKey(url: string) {
2828

2929
export const { use: useServer, provider: ServerProvider } = createSimpleContext({
3030
name: "Server",
31-
init: (props: { defaultUrl: string, isSidecar?: boolean }) => {
31+
init: (props: { defaultUrl: string; isSidecar?: boolean }) => {
3232
const platform = usePlatform()
3333

3434
const [store, setStore, _, ready] = persisted(
@@ -96,9 +96,8 @@ export const { use: useServer, provider: ServerProvider } = createSimpleContext(
9696
const url = normalizeServerUrl(props.defaultUrl)
9797
if (!url) return
9898
batch(() => {
99-
10099
// Add the new sidecar url
101-
if(props.isSidecar && props.defaultUrl) {
100+
if (props.isSidecar && props.defaultUrl) {
102101
add(props.defaultUrl)
103102
}
104103

packages/desktop/src/index.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,6 @@ render(() => {
404404
window.__OPENCODE__ ??= {}
405405
window.__OPENCODE__.serverPassword = data().password ?? undefined
406406

407-
408407
function Inner() {
409408
const cmd = useCommand()
410409

0 commit comments

Comments
 (0)