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:
parent
a276f92183
commit
5e7145b20c
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ export type UserContextType = Readonly<{
|
||||||
/**
|
/**
|
||||||
* Context for the current user. It's a fundamental context for the account-related elements.
|
* 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. */
|
/** The default value for the user context. */
|
||||||
export const userContext: UserContextType = Object.freeze({
|
export const userContext: UserContextType = Object.freeze({
|
||||||
|
|
Loading…
Reference in a new issue