File tree 2 files changed +1
-4
lines changed
webview-ui/src/components
2 files changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -126,8 +126,6 @@ const ApiOptions = ({
126
126
[ apiConfiguration ] ,
127
127
)
128
128
129
- console . log ( "WTF" , selectedProvider )
130
-
131
129
// Debounced refresh model updates, only executed 250ms after the user
132
130
// stops typing.
133
131
useDebounce (
Original file line number Diff line number Diff line change @@ -26,7 +26,6 @@ const WelcomeView = () => {
26
26
vscode . postMessage ( { type : "upsertApiConfiguration" , text : currentApiConfigName , apiConfiguration } )
27
27
} , [ apiConfiguration , currentApiConfigName ] )
28
28
29
- console . log ( )
30
29
return (
31
30
< Tab >
32
31
< TabContent className = "flex flex-col gap-5" >
@@ -42,7 +41,7 @@ const WelcomeView = () => {
42
41
</ TabContent >
43
42
< div className = "sticky bottom-0 bg-vscode-sideBar-background p-5" >
44
43
< div className = "flex flex-col gap-1" >
45
- { apiConfiguration ?. apiProvider === "kilocode" ? null : (
44
+ { ! apiConfiguration ?. apiProvider || apiConfiguration ?. apiProvider === "kilocode" ? null : (
46
45
< VSCodeButton onClick = { handleSubmit } > { t ( "welcome:start" ) } </ VSCodeButton >
47
46
) }
48
47
{ errorMessage && < div className = "text-vscode-errorForeground" > { errorMessage } </ div > }
You can’t perform that action at this time.
0 commit comments