From aa3ebf9f22800de690402db91c3da9c019bdaa59 Mon Sep 17 00:00:00 2001 From: Rob <30500864+RobChangCA@users.noreply.github.com> Date: Wed, 13 Nov 2024 13:01:55 -0500 Subject: [PATCH] fix: add passkey link (#1148) * fix: add passkey link * fix: added auth0 and passkey to links obj --- .../ui-demo/src/components/configuration/Authentication.tsx | 5 +++-- examples/ui-demo/src/utils/links.ts | 2 ++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/examples/ui-demo/src/components/configuration/Authentication.tsx b/examples/ui-demo/src/components/configuration/Authentication.tsx index 1c5c9ce6b2..545427bc6f 100644 --- a/examples/ui-demo/src/components/configuration/Authentication.tsx +++ b/examples/ui-demo/src/components/configuration/Authentication.tsx @@ -11,6 +11,7 @@ import { SocialIcon } from "../icons/social"; import { WalletIcon } from "../icons/wallet"; import ExternalLink from "../shared/ExternalLink"; import { Switch } from "../ui/switch"; +import { links } from "@/utils/links"; export const Authentication = ({ className }: { className?: string }) => { const { auth, setAuth } = useConfigStore(({ auth, setAuth }) => ({ @@ -125,7 +126,7 @@ export const Authentication = ({ className }: { className?: string }) => { onClick={setAddFacebookAuth} /> { Metrics.trackEvent({ name: "clicked_custom_oauth_link" }); }} @@ -156,7 +157,7 @@ export const Authentication = ({ className }: { className?: string }) => {

Add passkey after sign up

- +

Add passkey after sign up

diff --git a/examples/ui-demo/src/utils/links.ts b/examples/ui-demo/src/utils/links.ts index 127d2ce289..6a1678c332 100644 --- a/examples/ui-demo/src/utils/links.ts +++ b/examples/ui-demo/src/utils/links.ts @@ -6,4 +6,6 @@ export const links = { // TODO: update once we have final links quickstartGuide: "https://accountkit.alchemy.com/react/quickstart", dashboard: `https://dashboard.alchemy.com/accounts?utm_source=demo_alchemy_com&utm_medium=referral&utm_campaign=demo_to_dashboard`, + passkey: "https://accountkit.alchemy.com/core/add-passkey", + auth0: "https://accountkit.alchemy.com/signer/authentication/auth0", };