Skip to content

Commit

Permalink
update storybook
Browse files Browse the repository at this point in the history
  • Loading branch information
eshark9312 committed Sep 14, 2023
1 parent 4694fdd commit f13287e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
7 changes: 7 additions & 0 deletions packages/ui/src/app/App.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ type Args = {
hasWallet: boolean
isRPCNodeConnected: boolean
onBuyMembership: CallableFunction
onUpdateMembership: CallableFunction
onTransfer: CallableFunction
}

Expand Down Expand Up @@ -107,6 +108,12 @@ export default {
onSend: args.onBuyMembership,
failure: parameters.txFailure,
},
updateProfile: {
event: 'MembershipUpdated',
data: [MEMBER_DATA.id],
onSend: args.onUpdateMembership,
failure: parameters.txFailure,
},
},
},
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,6 @@ export const buyMembershipMachine = createMachine<BuyMembershipContext, BuyMembe
onDone: [
{
target: 'success',
// actions: assign({
// memberId: (context, event) => getDataFromEvent(event.data.events, 'members', 'MembershipBought', 0),
// }),
cond: isTransactionSuccess,
},
{
Expand Down

0 comments on commit f13287e

Please sign in to comment.