incredible
Some checks are pending
Sync to Codeberg / codeberg (push) Waiting to run
test / test (push) Waiting to run

This commit is contained in:
Nuckyz 2024-09-18 15:12:36 -03:00
parent a0a1aaf0ed
commit 07a9279682
No known key found for this signature in database
GPG key ID: 440BF8296E1C4AD9

View file

@ -296,7 +296,7 @@ export function findComponent<P extends AnyRecord>(filter: FilterFn, parse: (com
webpackSearchHistory.push(["findComponent", [WrapperComponent, filter]]); webpackSearchHistory.push(["findComponent", [WrapperComponent, filter]]);
} }
if (WrapperComponent[SYM_LAZY_COMPONENT_INNER]() != null) return WrapperComponent[SYM_LAZY_COMPONENT_INNER]()!; if (WrapperComponent[SYM_LAZY_COMPONENT_INNER]() != null) return WrapperComponent[SYM_LAZY_COMPONENT_INNER]() as AnyLazyComponentType<P>;
return WrapperComponent; return WrapperComponent;
} }
@ -324,7 +324,7 @@ export function findExportedComponent<P extends AnyRecord>(...props: PropsFilter
webpackSearchHistory.push(["findExportedComponent", [WrapperComponent, ...newProps]]); webpackSearchHistory.push(["findExportedComponent", [WrapperComponent, ...newProps]]);
} }
if (WrapperComponent[SYM_LAZY_COMPONENT_INNER]() != null) return WrapperComponent[SYM_LAZY_COMPONENT_INNER]()!; if (WrapperComponent[SYM_LAZY_COMPONENT_INNER]() != null) return WrapperComponent[SYM_LAZY_COMPONENT_INNER]() as AnyLazyComponentType<P>;
return WrapperComponent; return WrapperComponent;
} }