diff --git a/package-lock.json b/package-lock.json index 31bcf4f..ab8dfa2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12909,6 +12909,11 @@ } } }, + "taparoo": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/taparoo/-/taparoo-1.0.5.tgz", + "integrity": "sha512-ea/7MSfDp93FFiqN+v85yM2BIqacAi2dyQRwMm4FQ0YS9J2ZN1am8S2u+FziGIaHB2lqO8TwrLZ8VtS0dJExlg==" + }, "temp-dir": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/temp-dir/-/temp-dir-2.0.0.tgz", diff --git a/package.json b/package.json index 3509bf7..4365ecd 100755 --- a/package.json +++ b/package.json @@ -15,7 +15,8 @@ "react-photo-gallery": "6.3.4", "react-responsive": "^8.2.0", "shave": "^2.5.10", - "smoothscroll-polyfill": "^0.4.4" + "smoothscroll-polyfill": "^0.4.4", + "taparoo": "^1.0.5" }, "devDependencies": { "@babel/core": "^7.15.8", diff --git a/src/components/MediaOverlay/MediaViewer/MediaViewer.js b/src/components/MediaOverlay/MediaViewer/MediaViewer.js index c1c8a67..e69199b 100644 --- a/src/components/MediaOverlay/MediaViewer/MediaViewer.js +++ b/src/components/MediaOverlay/MediaViewer/MediaViewer.js @@ -1,8 +1,8 @@ -import React, { Fragment, useContext } from 'react'; +import React, { useContext } from 'react'; import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; import { faAngleLeft, faAngleRight } from '@fortawesome/pro-light-svg-icons'; import classNames from 'classnames'; -import Taparoo from '../../Taparoo/Taparoo'; +import { Taparoo } from 'taparoo'; import Media from '../Media/Media'; import MediaLink from '../MediaLink/MediaLink'; import MediaOverlayContext from '../MediaOverlay.context';