Skip to content

Commit

Permalink
WIP Refactor 4
Browse files Browse the repository at this point in the history
  • Loading branch information
overlookmotel committed Feb 9, 2019
1 parent 6707f96 commit 132b343
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions lib/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ module.exports = {
isObject,
isPromise,
isReactElement,
isSuspense,
isSuspenseType,
isReactClassComponent,
last
Expand All @@ -34,10 +33,6 @@ function isReactElement(e) {
return isObject(e) && e.$$typeof === REACT_ELEMENT_TYPE;
}

function isSuspense(e) {
return isReactElement(e) && isSuspenseType(e.type);
}

function isSuspenseType(type) {
return type === REACT_SUSPENSE_TYPE;
}
Expand Down

0 comments on commit 132b343

Please sign in to comment.