Rename (#20134)
Sebastian Markbåge committed
Oct 29, 2020 at 21:58 UTC
39eb6d1765cad681dc78b8955c39ed819064e7b4
2 files changed
+2
-2
packages/react-transport-dom-relay/src/__mocks__/JSResourceReference.js
+1
-1
@@ -11,7 +11,7 @@ class JSResourceReference {
11
constructor(exportedValue) {
12
this._moduleId = exportedValue;
13
}
14
- getModuleID() {
14
+ getModuleId() {
15
return this._moduleId;
16
}
17
}
packages/shared/isValidElementType.js
+1
-1
@@ -64,7 +64,7 @@ export default function isValidElementType(type: mixed) {
64
// we don't know which Flight build this will end up being used
65
// with.
66
type.$$typeof === REACT_MODULE_REFERENCE ||
67
- type.getModuleID !== undefined ||
67
+ type.getModuleId !== undefined ||
68
type.$$typeof === REACT_BLOCK_TYPE ||
69
type[(0: any)] === REACT_SERVER_BLOCK_TYPE
70
) {