@rpg-engine/long-bow 0.6.71 → 0.6.73

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.
@@ -11,7 +11,6 @@ import ReactDOM from 'react-dom';
11
11
  import { camelCase, debounce } from 'lodash-es';
12
12
  import { observer } from 'mobx-react-lite';
13
13
  import { AiFillCaretRight } from 'react-icons/ai';
14
- import 'react-tippy/dist/tippy.css';
15
14
  import 'rpgui/rpgui.css';
16
15
  import 'rpgui/rpgui.min.js';
17
16
  import capitalize from 'lodash-es/capitalize';
@@ -32123,8 +32122,9 @@ var formatObjectives = function formatObjectives(objectives) {
32123
32122
  }
32124
32123
  }).join('; ');
32125
32124
  };
32126
- // Other helper functions remain the same
32125
+ // Updated helper function to format rewards
32127
32126
  var formatRewards = function formatRewards(rewards) {
32127
+ if (!rewards) return 'No rewards';
32128
32128
  return rewards.map(function (reward) {
32129
32129
  return "" + formatText(reward.itemKeys.map(function (itemKey) {
32130
32130
  return itemKey + ' x' + reward.qty;
@@ -32152,7 +32152,6 @@ var getStatusColor = function getStatusColor(status) {
32152
32152
  // Default to white
32153
32153
  }
32154
32154
  };
32155
- // Styled components
32156
32155
  var QuestListContainer = /*#__PURE__*/styled.div.withConfig({
32157
32156
  displayName: "QuestList__QuestListContainer",
32158
32157
  componentId: "sc-1a2vx6q-0"