forked from profectus/Profectus
Fix processed JSXFunctions not being considered coercable components
This commit is contained in:
parent
ff9714546f
commit
a701168ab1
1 changed files with 2 additions and 0 deletions
|
@ -39,6 +39,8 @@ export function processComputable<T, S extends keyof ComputableKeysOf<T>>(
|
||||||
obj[key] = computed(computable.bind(obj));
|
obj[key] = computed(computable.bind(obj));
|
||||||
} else if (isFunction(computable)) {
|
} else if (isFunction(computable)) {
|
||||||
obj[key] = computable.bind(obj);
|
obj[key] = computable.bind(obj);
|
||||||
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||||
|
(obj[key] as any)[DoNotCache] = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue