Skip to content

Commit

Permalink
hotfix: 퀴즈 생성 시 position 값을 전달하지 않는 에러 해결
Browse files Browse the repository at this point in the history
  • Loading branch information
dooohun committed Nov 28, 2024
1 parent a9b9c3d commit 67e1326
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/client/src/pages/quiz-create/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ export default function QuizCreatePage() {
onQuizUpdate={(updatedData: QuizData) => {
setQuizzes((prev) => {
const newQuizzes = [...prev];
newQuizzes[currentQuizIndex] = updatedData;
newQuizzes[currentQuizIndex] = { ...updatedData, position: currentQuizIndex };
return newQuizzes;
});
}}
Expand Down

0 comments on commit 67e1326

Please sign in to comment.