From 5e7145b20cddd9a60af6e1f088aca4c2badc696e Mon Sep 17 00:00:00 2001 From: Xiao Yijun Date: Fri, 26 Jul 2024 19:48:09 +0800 Subject: [PATCH] fix(elements): fix user context tag name (#6346) --- packages/elements/src/providers/logto-user-provider.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/elements/src/providers/logto-user-provider.ts b/packages/elements/src/providers/logto-user-provider.ts index 50b193dab..858015717 100644 --- a/packages/elements/src/providers/logto-user-provider.ts +++ b/packages/elements/src/providers/logto-user-provider.ts @@ -15,7 +15,7 @@ export type UserContextType = Readonly<{ /** * Context for the current user. It's a fundamental context for the account-related elements. */ -export const UserContext = createContext('modal-context'); +export const UserContext = createContext('user-context'); /** The default value for the user context. */ export const userContext: UserContextType = Object.freeze({