Skip to content

Commit

Permalink
Merge pull request #38 from 2jun0/main
Browse files Browse the repository at this point in the history
프론트엔드 서버 핫픽스 배포
  • Loading branch information
2jun0 authored Feb 15, 2024
2 parents 751171c + 178a42a commit 4ecb792
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion frontend/app/daily/[page]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,10 @@ export default function DailyQuiz() {

function onChangeQuizPage(event: any) {
const newPage = event.target.value
router.push(`/daily/${newPage}`)

if (newPage && page != newPage) {
router.push(`/daily/${newPage}`)
}
}

function onChangeGuessName(query: string) {
Expand Down

0 comments on commit 4ecb792

Please sign in to comment.