fix: 更改接受参数XClawUsed为xclaw_used

This commit is contained in:
肖应宇 2026-03-31 09:05:08 +08:00
parent 2709b2407b
commit ea396bb1af
2 changed files with 3 additions and 1 deletions

2
frontend/.gitignore vendored
View File

@ -5,6 +5,8 @@
/.pnp
.pnp.js
.codex
# testing
/coverage

View File

@ -28,7 +28,7 @@ export function useIframeSkill(): UseIframeSkillReturn {
const skillIdFromQuery = searchParams.get("skill_id");
const titleFromQuery = searchParams.get("title");
const threadIdFromQuery = searchParams.get("thread_id");
const xClawUsedFromQuery = searchParams.get("XClawUsed");
const xClawUsedFromQuery = searchParams.get("xclaw_used");
const lastThreadIdRef = useRef<string | null>(null);
const [selectedSkill, setSelectedSkill] = useState<SkillData | null>(null);