fix(skills): address Copilot review nits (safety + UI guards)
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user