MCPcopy Index your code
hub / github.com/anomalyco/opencode / getRootNotFoundError

Function getRootNotFoundError

packages/app/src/entry.tsx:26–30  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

24}
25
26const getRootNotFoundError = () => {
27 const key = "error.dev.rootNotFound" as const
28 const locale = getLocale()
29 return locale === "zh" ? (zh[key] ?? en[key]) : en[key]
30}
31
32const getStorage = (key: string) => {
33 if (typeof localStorage === "undefined") return null

Callers 1

entry.tsxFile · 0.85

Calls 1

getLocaleFunction · 0.85

Tested by

no test coverage detected