File tree 1 file changed +1
-2
lines changed
webview-ui/src/components/welcome
1 file changed +1
-2
lines changed 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