Skip to content
This repository has been archived by the owner on May 31, 2021. It is now read-only.

Commit

Permalink
feat: tabがブラウザバックで動かなくなっていたのを修正
Browse files Browse the repository at this point in the history
  • Loading branch information
ucpr committed May 20, 2020
1 parent 6556fa7 commit d78b364
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/organisms/ContestTabPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ function ContestTabsPageContainer(props) {
const setSubmissionsPage = props.setSubmissionsPage;

useEffect(() => {
setTabPosition(getTab());
// tabのpositionがSubmissionsのとき
if (tabPosition === tabValueList[2]) {
const page = Number(getPage());
Expand Down

0 comments on commit d78b364

Please sign in to comment.