mirror of
https://github.com/claude-code-best/claude-code.git
synced 2026-06-17 22:05:50 +00:00
反编译版本中 global.d.ts 声明的全局函数运行时未定义, 通过显式 import、stub 组件和全局 polyfill 修复。 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
10 lines
279 B
TypeScript
10 lines
279 B
TypeScript
// Stub — ant-only component, not available in decompiled build
|
|
import React, { useEffect } from 'react';
|
|
|
|
export function UndercoverAutoCallout({ onDone }: { onDone: () => void }): React.ReactElement | null {
|
|
useEffect(() => {
|
|
onDone();
|
|
}, [onDone]);
|
|
return null;
|
|
}
|