diff --git a/src/history.js b/src/history.js index 9a5ab0f..8a488ca 100644 --- a/src/history.js +++ b/src/history.js @@ -1,6 +1,7 @@ import React, { useEffect, useState } from "react"; import { getSlides } from "./differ"; import useSpring from "react-use/lib/useSpring"; +import Swipeable from "react-swipeable" import Slide from "./slide"; import "./comment-box.css"; @@ -109,7 +110,12 @@ export default function History({ commits, language }) { currentIndex={current} selectCommit={index => setTarget(index)} /> - + + + ); }