Skip to content

Commit

Permalink
Remove Element PropType check to make momentum SSR-compatible again
Browse files Browse the repository at this point in the history
  • Loading branch information
akoushke committed Jun 16, 2020
1 parent 6bd65a4 commit c8fab86
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions react/src/lib/EventOverlay/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -1034,8 +1034,8 @@ EventOverlay.propTypes = {
maxHeight: PropTypes.number,
/** @prop Sets the max width of the EventOverlay | null */
maxWidth: PropTypes.number,
/** @prop Node/element where overlay should be appended using ReactDOM portal | null */
portalNode: PropTypes.oneOfType([PropTypes.node, PropTypes.instanceOf(Element)]),
/** @prop Node/ReactElement where overlay should be appended using ReactDOM portal | null */
portalNode: PropTypes.oneOfType([PropTypes.node, PropTypes.element]),
/** @prop Set the id of the scrollParent | null */
scrollParentID: PropTypes.string,
/** @prop Determines if focus should be locked to overlay | false */
Expand Down

0 comments on commit c8fab86

Please sign in to comment.