Skip to content

Commit

Permalink
fix: 퀴즈 페이지 이동 시 터미널 입력값 초기화 안 되는 문제
Browse files Browse the repository at this point in the history
[#10]
  • Loading branch information
YuHyun-P committed Dec 2, 2023
1 parent 9f26d81 commit d704fec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/frontend/src/pages/quizzes/[id].page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ export default function QuizPage({ quiz }: { quiz: Quiz }) {

useEffect(() => {
setContentArray([]);
clearTextContent(terminalInputRef);
}, [id]);

useEffect(() => {
Expand Down

0 comments on commit d704fec

Please sign in to comment.