Skip to content

Commit ff5061f

Browse files
committed
cleanup
1 parent 764356a commit ff5061f

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

gui/src/components/mainInput/Lump/LumpToolbar.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,11 @@ export function LumpToolbar() {
5757
if (metaKey && event.key === "Enter") {
5858
event.preventDefault();
5959
event.stopPropagation();
60-
void dispatch(callCurrentTool());
60+
dispatch(callCurrentTool());
6161
} else if ((jetbrains ? altKey : metaKey) && event.key === "Backspace") {
6262
event.preventDefault();
6363
event.stopPropagation();
64-
void dispatch(cancelCurrentToolCall());
64+
dispatch(cancelCurrentToolCall());
6565
}
6666
}
6767
};

gui/src/pages/gui/ToolCallDiv/EditFile.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export function EditFile(props: EditToolCallProps) {
1919
const src = `\`\`\`${getMarkdownLanguageTagForFile(props.relativeFilePath ?? "test.txt")} ${props.relativeFilePath}\n${props.changes ?? ""}\n\`\`\``;
2020

2121
const dispatch = useAppDispatch();
22-
22+
const isStreaming = useAppSelector((state) => state.session.isStreaming);
2323
const applyState = useAppSelector((state) =>
2424
selectApplyStateByToolCallId(state, props.toolCallId),
2525
);

gui/src/redux/thunks/streamNormalInput.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ export const streamNormalInput = createAsyncThunk<
6363
dispatch(abortStream());
6464
break;
6565
}
66+
6667
dispatch(streamUpdate(next.value));
6768
next = await gen.next();
6869
}

0 commit comments

Comments
 (0)