diff --git a/src/utils.js b/src/utils.js index eba20d4..0b1d7ab 100644 --- a/src/utils.js +++ b/src/utils.js @@ -205,11 +205,7 @@ function isSortingDesc (d) { function normalizeComponent (Comp, params = {}, fallback = Comp) { return typeof Comp === 'function' ? ( - Object.getPrototypeOf(Comp).isReactComponent ? ( - - ) : ( - Comp(params) - ) + ) : ( fallback )