diff --git a/src/components/quests.js b/src/components/quests.js index c5a2b25..07b2089 100644 --- a/src/components/quests.js +++ b/src/components/quests.js @@ -7,7 +7,13 @@ function QuestTile(props) {
Difficulty: {["Low", "Medium", "High"][props.quest.difficulty - 1]}
Priority: {["Low", "Medium", "High"][props.quest.priority - 1]}
State: {props.quest.state ? "Complete": "Incomplete"}
- + ); } @@ -15,6 +21,7 @@ function QuestTile(props) { QuestTile.propTypes = { quest: PropTypes.object, setDisplay: PropTypes.func, + type: PropTypes.string, }; function Quests(props) { @@ -34,6 +41,7 @@ function Quests(props) { {props.quests.map((cur) =>