dsh-skill-picker 0.5.27 → 0.5.28

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/client.js CHANGED
@@ -26662,7 +26662,7 @@ function SkillPickerButton(props) {
26662
26662
  });
26663
26663
  };
26664
26664
  const togglePin = (name) => {
26665
- const next = pinned.includes(name) ? pinned.filter((n) => n !== name) : [...pinned, name];
26665
+ const next = pinned.includes(name) ? pinned.filter((n) => n !== name) : [name, ...pinned];
26666
26666
  setPinned(next);
26667
26667
  savePinned(next);
26668
26668
  };