Skip to content

Commit

Permalink
add debug logs
Browse files Browse the repository at this point in the history
  • Loading branch information
BrettCleary committed Aug 15, 2024
1 parent 6de5faa commit 2d3d664
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hyperplay/quests-ui",
"version": "0.0.6",
"version": "0.0.7",
"description": "",
"main": "index.js",
"scripts": {
Expand Down
1 change: 1 addition & 0 deletions src/components/QuestDetailsWrapper/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -456,6 +456,7 @@ export function QuestDetailsWrapper({
['ERC1155', 'ERC721', 'ERC20'].includes(reward.reward_type)
)

console.log('rendering with ', questRewards)
const questDetailsProps: QuestDetailsProps = {
alertProps,
questType: questMeta.type,
Expand Down
1 change: 1 addition & 0 deletions src/hooks/useGetRewards.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ export function useGetRewards(
rewards.push(questReward_i)
}
} else {
console.log('pushing this reward ', reward_i)
const questReward_i: QuestReward = {
title: reward_i.name,
imageUrl: reward_i.image_url,
Expand Down

0 comments on commit 2d3d664

Please sign in to comment.