Skip to content

Commit

Permalink
fix(MENDEL-7978): add taparoo dependency to prevent swipe on multi-…
Browse files Browse the repository at this point in the history
…touch
  • Loading branch information
ryanwalters committed Oct 20, 2021
1 parent acee0c8 commit 87ab953
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
5 changes: 5 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions src/components/MediaOverlay/MediaViewer/MediaViewer.js
Original file line number Diff line number Diff line change
@@ -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';
Expand Down

0 comments on commit 87ab953

Please sign in to comment.