fix import
This commit is contained in:
parent
1b59cb3bdf
commit
c1d7d2fa63
2 changed files with 42 additions and 39 deletions
|
|
@ -738,7 +738,7 @@ export const validateSetting = ({
|
|||
}) => {
|
||||
if (value === undefined) return // only null is allowed as missing value
|
||||
if (get(defaultState, path) === undefined) {
|
||||
const string = `Unknown instance option ${path}, value: ${value}`
|
||||
const string = `Unknown option ${path}, value: ${value}`
|
||||
|
||||
if (throwError) {
|
||||
throw new Error(string)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue