Skip to content

Commit d43c1cc

Browse files
authored
Remove lets go button when kilo code is provider (#68)
1 parent a25934d commit d43c1cc

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

webview-ui/src/components/settings/ApiOptions.tsx

-2
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,6 @@ const ApiOptions = ({
126126
[apiConfiguration],
127127
)
128128

129-
console.log("WTF", selectedProvider)
130-
131129
// Debounced refresh model updates, only executed 250ms after the user
132130
// stops typing.
133131
useDebounce(

webview-ui/src/components/welcome/WelcomeView.tsx

+1-2
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ const WelcomeView = () => {
2626
vscode.postMessage({ type: "upsertApiConfiguration", text: currentApiConfigName, apiConfiguration })
2727
}, [apiConfiguration, currentApiConfigName])
2828

29-
console.log()
3029
return (
3130
<Tab>
3231
<TabContent className="flex flex-col gap-5">
@@ -42,7 +41,7 @@ const WelcomeView = () => {
4241
</TabContent>
4342
<div className="sticky bottom-0 bg-vscode-sideBar-background p-5">
4443
<div className="flex flex-col gap-1">
45-
{apiConfiguration?.apiProvider === "kilocode" ? null : (
44+
{!apiConfiguration?.apiProvider || apiConfiguration?.apiProvider === "kilocode" ? null : (
4645
<VSCodeButton onClick={handleSubmit}>{t("welcome:start")}</VSCodeButton>
4746
)}
4847
{errorMessage && <div className="text-vscode-errorForeground">{errorMessage}</div>}

0 commit comments

Comments
 (0)