fix(skills): address Copilot review nits (safety + UI guards)

This commit is contained in:
Abhimanyu Saharan
2026-02-13 22:50:29 +00:00
parent 294457e76b
commit 84cf22e42b
4 changed files with 30 additions and 2 deletions

View File

@@ -91,6 +91,8 @@ export default function SkillsPacksPage() {
};
const handleSyncPack = async (pack: SkillPackRead) => {
if (syncingPackIds.has(pack.id)) return;
setSyncingPackIds((previous) => {
const next = new Set(previous);
next.add(pack.id);