fix: patch OOM issue (#112)
This commit is contained in:
@@ -288,6 +288,8 @@ export const ApprovalDialog = memo(function ApprovalDialog({
|
||||
}, [progress, approvalContext, onApproveAll, onApproveAlways]);
|
||||
|
||||
useInput((_input, key) => {
|
||||
if (isExecuting) return;
|
||||
|
||||
if (isEnteringReason) {
|
||||
// When entering reason, only handle enter/escape
|
||||
if (key.return) {
|
||||
|
||||
Reference in New Issue
Block a user