chore: replace all cn comments of fe to en version by volc api (#320)

This commit is contained in:
tecvan
2025-07-31 10:32:15 +08:00
committed by GitHub
parent 716ec0cba8
commit 71f6245a01
2960 changed files with 15545 additions and 15545 deletions

View File

@@ -28,14 +28,14 @@ interface Params {
botId: string;
source: MessageSource | undefined;
}) => void;
// 目前只需要区分出 store 的场景
// At present, only the scene of the store needs to be distinguished.
scene?: Scene;
}
export const useCreateGrabPlugin = (params?: Params) => {
const { onQuote, scene = 'other' } = params ?? {};
const [grabEnableUpload, setGrabEnableUpload] = useState(true);
// eslint-disable-next-line @typescript-eslint/naming-convention -- 符合预期的命名
// eslint-disable-next-line @typescript-eslint/naming-convention -- matches the expected naming
const { grabPlugin: GrabPlugin, grabPluginId } = useMemo(
() =>
createGrabPlugin({