From ef7185903e0e83dbf5e1abe1ec178b3012c546b5 Mon Sep 17 00:00:00 2001 From: Sean Hagstrom Date: Thu, 30 Apr 2020 10:12:17 -0700 Subject: [PATCH] fix import path of intersection-observer dependency in sentinel --- src/Sentinel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Sentinel.js b/src/Sentinel.js index 775264ec..370e5a20 100644 --- a/src/Sentinel.js +++ b/src/Sentinel.js @@ -1,5 +1,5 @@ import React, { Component } from 'react'; -import { IntersectionObserver as Observer } from '@researchgate/react-intersection-observer/lib/js/IntersectionObserver'; +import Observer from '@researchgate/react-intersection-observer'; import PropTypes from 'prop-types'; import { computeRootMargin } from './utils';