We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c019663 commit 08d7ed1Copy full SHA for 08d7ed1
src/reconciler/resolver.js
@@ -66,7 +66,13 @@ export function resolveNotComponent(type) {
66
return undefined;
67
}
68
69
-export const resolveSimpleType = type => resolveProxy(type) || resolveUtility(type) || type;
+export const resolveSimpleType = type => {
70
+ if (!type) {
71
+ return type;
72
+ }
73
+
74
+ return resolveProxy(type) || resolveUtility(type) || type;
75
+};
76
77
export const resolveType = (type, options = {}) => {
78
if (!type) {
0 commit comments