From 6dbfcaa2d2ccc4e4595d2f1e54f97f6bda18a7bc Mon Sep 17 00:00:00 2001 From: Patryk Kalinowski Date: Thu, 15 Aug 2024 14:18:09 +0200 Subject: [PATCH] small fix to display wrapped Stytch account type (#40) --- src/components/views/ListAccountsView.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/views/ListAccountsView.tsx b/src/components/views/ListAccountsView.tsx index 258cfe9..d1f1df0 100644 --- a/src/components/views/ListAccountsView.tsx +++ b/src/components/views/ListAccountsView.tsx @@ -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} }