chore: generate

This commit is contained in:
opencode-agent[bot] 2026-07-24 09:13:59 +00:00
commit 3337495427

View file

@ -556,10 +556,7 @@ function SessionFileViewV2(props: { tab: string }) {
}
const buildPreview = (filePath: string, lines: SelectedLineRange) => {
const source =
filePath === path()
? contents()
: file.get(filePath)?.content?.content
const source = filePath === path() ? contents() : file.get(filePath)?.content?.content
if (!source) return undefined
return selectionPreview(source, selectionFromLines(lines))
}