Skip to content

Commit

Permalink
remove twitter metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
T-Damer committed Nov 15, 2023
1 parent 08940db commit 0a0ce99
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
3 changes: 1 addition & 2 deletions src/components/InviteCode/InviteCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ export default function InviteCard({
idEmail,
idTwitter,
inviteCode,
twitterMetadata,
value,
}: InviteCodeProps) {
const ketlLinkToVerification = idEmail
Expand Down Expand Up @@ -62,7 +61,7 @@ export default function InviteCard({
(<strong>DO NOT</strong> Screenshot or share your invite code with
anyone else)
</MjmlText>
{!!twitterMetadata && !!idTwitter && <TwitterBlock id={idTwitter} />}
{!!idTwitter && <TwitterBlock id={idTwitter} />}
</Card>
)
}
1 change: 0 additions & 1 deletion src/layouts/inviteCode.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ export interface InviteCodeProps {
attestationType?: AttestationType
inviteCode: string
value: string
twitterMetadata?: { username: string; id: string }
idEmail: string
idTwitter?: string
}
Expand Down
1 change: 0 additions & 1 deletion src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ app.get('*', (_, res) => {
idEmail: exampleIdEmail,
idTwitter: exampleIdTwitter,
inviteCode: exampleInviteCode,
twitterMetadata: ketlXyzTwitter,
value: env.TEST_EMAIL,
})
const { html } = emailExample
Expand Down

0 comments on commit 0a0ce99

Please sign in to comment.