@rpg-engine/long-bow 0.3.55 → 0.3.57
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/dist/components/QuestInfo/QuestInfo.d.ts +1 -1
- package/dist/long-bow.cjs.development.js +2 -2
- package/dist/long-bow.cjs.development.js.map +1 -1
- package/dist/long-bow.cjs.production.min.js +1 -1
- package/dist/long-bow.cjs.production.min.js.map +1 -1
- package/dist/long-bow.esm.js +2 -2
- package/dist/long-bow.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/QuestInfo/QuestInfo.tsx +3 -3
- package/src/stories/QuestInfo.stories.tsx +3 -6
package/dist/long-bow.esm.js
CHANGED
|
@@ -35187,7 +35187,7 @@ var QuestInfo = function QuestInfo(_ref) {
|
|
|
35187
35187
|
return React.createElement(Button, {
|
|
35188
35188
|
key: index,
|
|
35189
35189
|
onPointerDown: function onPointerDown() {
|
|
35190
|
-
return button.
|
|
35190
|
+
return button.onClick(quests[currentIndex]._id, quests[currentIndex].npcId);
|
|
35191
35191
|
},
|
|
35192
35192
|
disabled: button.disabled,
|
|
35193
35193
|
buttonType: ButtonTypes.RPGUIButton,
|
|
@@ -35206,7 +35206,7 @@ var QuestInfo = function QuestInfo(_ref) {
|
|
|
35206
35206
|
return React.createElement(Button, {
|
|
35207
35207
|
key: index,
|
|
35208
35208
|
onPointerDown: function onPointerDown() {
|
|
35209
|
-
return button.
|
|
35209
|
+
return button.onClick(quests[0]._id, quests[0].npcId);
|
|
35210
35210
|
},
|
|
35211
35211
|
disabled: button.disabled,
|
|
35212
35212
|
buttonType: ButtonTypes.RPGUIButton,
|