Skip to content

Commit

Permalink
feat(quest-details): add game title prop to QuestDetailsWrapper stories
Browse files Browse the repository at this point in the history
  • Loading branch information
biliesilva committed Jan 16, 2025
1 parent 2813a0e commit ba47f00
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ const mockUserPlayStreak: UserPlayStreak = {
const mockProps: QuestDetailsWrapperProps = {
className: styles.root,
selectedQuestId: 1,
gameTitle: 'Game Title',
onRewardClaimed: () => {
alert('This is when we show the claim success modal')
},
Expand Down Expand Up @@ -170,6 +171,7 @@ export const QuestPageNotSignedIn: Story = {
export const QuestPageSignedIn: Story = {
args: {
...mockProps,
gameTitle: 'Game Title',
isQuestsPage: true,
isSignedIn: true
}
Expand Down

0 comments on commit ba47f00

Please sign in to comment.