This commit is contained in:
Nuckyz 2024-08-03 16:23:42 -03:00
parent c183018fb1
commit f05d462a73
No known key found for this signature in database
GPG key ID: 440BF8296E1C4AD9

View file

@ -186,9 +186,9 @@ function wrapWebpackComponent<T extends object = any>(
WrapperComponent[SYM_LAZY_COMPONENT_INNER] = () => InnerComponent; WrapperComponent[SYM_LAZY_COMPONENT_INNER] = () => InnerComponent;
function setInnerComponent(rawComponent: any, parsedComponent: LazyComponentType<T>) { function setInnerComponent(RawComponent: any, ParsedComponent: LazyComponentType<T>) {
InnerComponent = parsedComponent; InnerComponent = ParsedComponent;
Object.assign(WrapperComponent, rawComponent); Object.assign(WrapperComponent, RawComponent);
} }
return [WrapperComponent, setInnerComponent]; return [WrapperComponent, setInnerComponent];