Files
NapCatQQ/.pnpm-store/v3/files/b1/6a0cc4087e7b67861515821cc05f4d428b4be1b51d2cd7aaa98d7ae4d453c3b489845b210367637504c3af10ca0a18fe8401b57f4d7d5780a77480a9ecefd7
TanTan e311ca3275
Build NapCat Artifacts / Windows Loader Test (push) Canceled after 0s
Build NapCat Artifacts / Type Check & Test (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Framework (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Shell (push) Canceled after 0s
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

15 lines
354 B
Plaintext

import { useCallback } from 'react';
import { rootProjectionNode } from './node/HTMLProjectionNode.mjs';
function useResetProjection() {
const reset = useCallback(() => {
const root = rootProjectionNode.current;
if (!root)
return;
root.resetTree();
}, []);
return reset;
}
export { useResetProjection };