diff --git a/src/utils.js b/src/utils.js index 5d3084d..790268e 100644 --- a/src/utils.js +++ b/src/utils.js @@ -1 +1 @@ -export const isStateLess = Component => !Component.prototype.render +export const isStateLess = Component => !Component.prototype || !Component.prototype.render