fix: deeplink modal use new modal & DI stability (#5577)
* fix: deeplink * feat: DI stability * fix: lint * fix: play server project deep link * switch toggle icons * pnpm prepr --------- Co-authored-by: tdgao <mr.trumgao@gmail.com>
This commit is contained in:
@@ -43,7 +43,9 @@ export function createContext<ContextValue>(
|
||||
? `${providerComponentName}Context`
|
||||
: contextName
|
||||
|
||||
const injectionKey: InjectionKey<ContextValue | null> = Symbol(symbolDescription)
|
||||
const injectionKey: InjectionKey<ContextValue | null> = Symbol.for(
|
||||
`modrinth:${symbolDescription}`,
|
||||
)
|
||||
|
||||
/**
|
||||
* @param fallback The context value to return if the injection fails.
|
||||
|
||||
Reference in New Issue
Block a user