fixes: app crash from code hinter (#5265)

This commit is contained in:
Arpit 2023-01-09 17:56:04 +05:30 committed by GitHub
parent 8e81aa5c2b
commit cee253bc25
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -91,6 +91,7 @@ function resolveCode(code, state, customObjects = {}, withError = false, reserve
}
export function resolveReferences(object, state, defaultValue, customObjects = {}, withError = false) {
if (object === '{{{}}}') return '';
const reservedKeyword = ['app']; //Keywords that slows down the app
object = _.clone(object);
const objectType = typeof object;