Skip to content

Commit 8004e95

Browse files
authored
fix(bridge-react): correct createRemoteComponent warning info (#3983)
1 parent f633722 commit 8004e95

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/cool-avocados-wave.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@module-federation/bridge-react': patch
3+
---
4+
5+
fix(bridge-react): correct createRemoteComponent warning info

packages/bridge/bridge-react/src/remote/create.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ export function createRemoteComponent<
9797
E extends keyof T = keyof T,
9898
>(info: LazyRemoteComponentInfo<T, E>) {
9999
LoggerInstance.warn(
100-
`createRemoteAppComponent is deprecated, please use createRemoteAppComponent instead!`,
100+
`createRemoteComponent is deprecated, please use createRemoteAppComponent instead!`,
101101
);
102102
return createRemoteAppComponent(info);
103103
}

0 commit comments

Comments
 (0)