0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-16 20:26:19 -05:00

fix(elements): fix user context tag name (#6346)

This commit is contained in:
Xiao Yijun 2024-07-26 19:48:09 +08:00 committed by GitHub
parent a276f92183
commit 5e7145b20c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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<UserContextType>('modal-context');
export const UserContext = createContext<UserContextType>('user-context');
/** The default value for the user context. */
export const userContext: UserContextType = Object.freeze({