We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e2ac588 commit 2aed4d2Copy full SHA for 2aed4d2
1 file changed
packages/opencode/src/cli/cmd/tui/component/prompt/autocomplete.tsx
@@ -160,9 +160,7 @@ export function Autocomplete(props: {
160
161
props.setPrompt((draft) => {
162
if (part.type === "file") {
163
- const existingIndex = draft.parts.findIndex(
164
- (p) => p.type === "file" && "url" in p && p.url === part.url,
165
- )
+ const existingIndex = draft.parts.findIndex((p) => p.type === "file" && "url" in p && p.url === part.url)
166
if (existingIndex !== -1) {
167
const existing = draft.parts[existingIndex]
168
if (
0 commit comments