Skip to content

Commit

Permalink
Merge pull request #262 from codekids-vt/backbutton-fix
Browse files Browse the repository at this point in the history
fixed back button
  • Loading branch information
noahpro99 committed Feb 19, 2024
2 parents af897ee + 3f5ce5d commit 3882bc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/pages/BookPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ export default function BookPage() {
time_since_load: timeSpent,
user_id: user?.id,
});
navigate(`/book/${id}/${getNextPageNum()}`);
navigate(`/book/${id}/${getPrevPageNum()}`);
}

function helpMeClicked() {
Expand Down

0 comments on commit 3882bc4

Please sign in to comment.