Skip to content

Commit

Permalink
fix(unlock-app): metadataInputs at the lock level (#13322)
Browse files Browse the repository at this point in the history
  • Loading branch information
julien51 committed Feb 6, 2024
1 parent 0eb5a7e commit 56ecd72
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions unlock-app/src/components/content/event/NewEvent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,26 +24,26 @@ export const defaultEventCheckoutConfigForLockOnNetwork = (
locks: {
[lockAddress]: {
network: network,
metadataInputs: [
{
name: 'email',
type: 'email',
label: 'Email address (will receive the QR code)',
required: true,
placeholder: 'your@email.com',
defaultValue: '',
},
{
name: 'fullname',
type: 'text',
label: 'Full name',
required: true,
placeholder: 'Satoshi Nakamoto',
defaultValue: '',
},
],
},
},
metadataInputs: [
{
name: 'email',
type: 'email',
label: 'Email address (will receive the QR code)',
required: true,
placeholder: 'your@email.com',
defaultValue: '',
},
{
name: 'fullname',
type: 'text',
label: 'Full name',
required: true,
placeholder: 'Satoshi Nakamoto',
defaultValue: '',
},
],
} as PaywallConfigType
}

Expand Down

0 comments on commit 56ecd72

Please sign in to comment.