chore: generate
This commit is contained in:
parent
233d003b49
commit
bb8bf32abe
20 changed files with 161 additions and 123 deletions
|
|
@ -19,7 +19,7 @@ if (import.meta.env.DEV && !(root instanceof HTMLElement)) {
|
|||
})()
|
||||
|
||||
const key = "error.dev.rootNotFound" as const
|
||||
const message = locale === "zh" ? zh[key] ?? en[key] : en[key]
|
||||
const message = locale === "zh" ? (zh[key] ?? en[key]) : en[key]
|
||||
throw new Error(message)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue