diff --git a/src/utils.js b/src/utils.js index 7c811d5..063e4bd 100644 --- a/src/utils.js +++ b/src/utils.js @@ -193,7 +193,7 @@ function isSortingDesc (d) { function normalizeComponent (Comp, params = {}, fallback = Comp) { return typeof Comp === 'function' ? ( - Comp.prototype.isReactComponent ? ( + Object.getPrototypeOf(Comp).isReactComponent ? (