Skip to content

Commit

Permalink
polished at last
Browse files Browse the repository at this point in the history
  • Loading branch information
T-Damer committed Nov 10, 2023
1 parent 4e08154 commit ade79b9
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default function () {
/>
<Route
component={({ params }) => <WaitlistScreen {...params} />}
path="/waitlist/:verificationType/:attestationType/:value/:context/:passed"
path="/waitlist/:verificationType/:attestationType/:value/:context/:passed/:inviteCode?"
/>
<Route component={MainBlock} />
</Switch>
Expand Down
10 changes: 9 additions & 1 deletion src/components/screens/WaitlistScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,20 @@ import openAppLink from 'helpers/openAppLink'
export default function ({
attestationType,
context,
inviteCode = '',
passed,
value,
verificationType,
}: WaitlistScreenParams) {
openAppLink({
params: { attestationType, context, passed, value, verificationType },
params: {
attestationType,
context,
inviteCode,
passed,
value,
verificationType,
},
path: KetlPath.waitlist,
})

Expand Down
1 change: 1 addition & 0 deletions src/models/WaitlistScreenParams.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ export default interface WaitlistScreenParams {
context: string // 1 || 0
verificationType: string // VerificationType
passed: string // 1 || 0
inviteCode?: string
}

0 comments on commit ade79b9

Please sign in to comment.