chore: remove verbose log

This commit is contained in:
sam hoang
2025-01-20 23:10:45 +07:00
parent eff72eea3f
commit 01c858c0b9

View File

@@ -118,8 +118,6 @@ export const ExtensionStateContextProvider: React.FC<{ children: React.ReactNode
const onUpdateApiConfig = useCallback((apiConfig: ApiConfiguration) => { const onUpdateApiConfig = useCallback((apiConfig: ApiConfiguration) => {
setState((currentState) => { setState((currentState) => {
console.log("onUpdateApiConfig", currentState, apiConfig)
vscode.postMessage({ vscode.postMessage({
type: "upsertApiConfiguration", type: "upsertApiConfiguration",
text: currentState.currentApiConfigName, text: currentState.currentApiConfigName,
@@ -132,8 +130,6 @@ export const ExtensionStateContextProvider: React.FC<{ children: React.ReactNode
const handleInputChange = useCallback( const handleInputChange = useCallback(
(field: keyof ApiConfiguration) => (event: any) => { (field: keyof ApiConfiguration) => (event: any) => {
setState((currentState) => { setState((currentState) => {
console.log("handleInputChange", currentState, event)
vscode.postMessage({ vscode.postMessage({
type: "upsertApiConfiguration", type: "upsertApiConfiguration",
text: currentState.currentApiConfigName, text: currentState.currentApiConfigName,