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:
Calum H.
2026-03-16 17:10:55 +00:00
committed by GitHub
parent 7d3935a38d
commit d9c7608ade
6 changed files with 165 additions and 17 deletions

View File

@@ -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.