Skip to content

Commit

Permalink
small fix to display wrapped Stytch account type (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
patrislav authored Aug 15, 2024
1 parent 2b3aa3a commit 6dbfcaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/views/ListAccountsView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export function accountToName(acc: Account) {
return <>Stytch account ({acc.email})</>
}

if (import.meta.env.STYTCH_LEGACY_ISSUER && acc.issuer === import.meta.env.STYTCH_LEGACY_ISSUER) {
if (import.meta.env.VITE_STYTCH_LEGACY_ISSUER && acc.issuer === import.meta.env.VITE_STYTCH_LEGACY_ISSUER) {
return <>WRAPPED Stytch account ({acc.email}</>
}

Expand Down

0 comments on commit 6dbfcaa

Please sign in to comment.