rename history navigation

This commit is contained in:
Shin'ya Ueoka 2017-09-17 09:26:51 +09:00
parent ae317113e7
commit aeb0e0f96d
5 changed files with 17 additions and 17 deletions
src/content

8
src/content/navigates.js Normal file
View file

@ -0,0 +1,8 @@
const historyPrev = (win) => {
win.history.back();
};
const historyNext = (win) => {
win.history.forward();
};
export { historyPrev, historyNext };