删除误导注释
This commit is contained in:
parent
1e53943e06
commit
282f2f4367
|
|
@ -647,7 +647,6 @@ function OAuthStatusMessage({
|
|||
} else {
|
||||
for (const [k, v] of Object.entries(env)) process.env[k] = v
|
||||
setOAuthStatus({ state: 'success' })
|
||||
// Schedule onDone after state update to avoid potential state update on unmounted component
|
||||
void onDone()
|
||||
}
|
||||
}, [activeField, inputValue, displayValues, setOAuthStatus, onDone])
|
||||
|
|
@ -844,7 +843,6 @@ function OAuthStatusMessage({
|
|||
} else {
|
||||
for (const [k, v] of Object.entries(env)) process.env[k] = v
|
||||
setOAuthStatus({ state: 'success' })
|
||||
// Schedule onDone after state update to avoid potential state update on unmounted component
|
||||
void onDone()
|
||||
}
|
||||
}, [activeField, openaiInputValue, openaiDisplayValues, setOAuthStatus, onDone])
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user