Skip to content

Commit d6e1362

Browse files
chore: generate
1 parent b275b85 commit d6e1362

2 files changed

Lines changed: 2 additions & 7 deletions

File tree

packages/opencode/src/cli/cmd/tui/component/dialog-workspace-create.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -145,10 +145,7 @@ export async function restoreWorkspaceSession(input: {
145145
await input.sync.bootstrap({ fatal: false })
146146
} catch (e) {}
147147

148-
await Promise.all([
149-
input.project.workspace.sync(),
150-
input.sync.session.sync(input.sessionID),
151-
]).catch((err) => {
148+
await Promise.all([input.project.workspace.sync(), input.sync.session.sync(input.sessionID)]).catch((err) => {
152149
log.error("session restore refresh failed", {
153150
workspaceID: input.workspaceID,
154151
sessionID: input.sessionID,

packages/opencode/src/cli/cmd/tui/component/dialog-workspace-unavailable.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,7 @@ import { For } from "solid-js"
55
import { useTheme } from "../context/theme"
66
import { useDialog } from "../ui/dialog"
77

8-
export function DialogWorkspaceUnavailable(props: {
9-
onRestore?: () => boolean | void | Promise<boolean | void>
10-
}) {
8+
export function DialogWorkspaceUnavailable(props: { onRestore?: () => boolean | void | Promise<boolean | void> }) {
119
const dialog = useDialog()
1210
const { theme } = useTheme()
1311
const [store, setStore] = createStore({

0 commit comments

Comments
 (0)