Skip to content

Commit 764a1ba

Browse files
author
Heiner Pöpping
committed
🏷️ Fix type error
1 parent 0a1878d commit 764a1ba

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/host/module/ModuleHost.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ const System: FC<SystemPropTypes> = ({
4949
fallback,
5050
...props
5151
}) => {
52-
const Component = useMemo(() => loadComponent(system.scope, system.module, globalThis.window ? system.url : system.serverUrl, undefined, system.preventSingleton), [system.scope, system.module, system.url, system.serverUrl, system.preventSingleton]);
52+
const Component = useMemo(() => loadComponent(system.scope, system.module, globalThis.window ? system.url : system.serverUrl as string, undefined, system.preventSingleton), [system.scope, system.module, system.url, system.serverUrl, system.preventSingleton]);
5353

5454
return (
5555
<React.Suspense fallback={fallback || ''}>

0 commit comments

Comments
 (0)