@rpg-engine/long-bow 0.2.11 → 0.2.12

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.
@@ -20393,6 +20393,9 @@ var PropertySelect = function PropertySelect(_ref) {
20393
20393
  React.useEffect(function () {
20394
20394
  onChange(availableProperties[currentIndex]);
20395
20395
  }, [currentIndex]);
20396
+ React.useEffect(function () {
20397
+ setCurrentIndex(0);
20398
+ }, [availableProperties]);
20396
20399
 
20397
20400
  var getCurrentSelectionName = function getCurrentSelectionName() {
20398
20401
  var item = availableProperties[currentIndex];