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({