Skip to content
This repository has been archived by the owner on Jun 15, 2024. It is now read-only.

fix: 문제 채점 로직 재작성 #72

Merged
merged 1 commit into from
Jan 19, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions src/pages/test-page/ResultPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,12 @@ export default function ResultPage() {
useEffect(() => {
// 문제 채점 로직
setScore({
...score,
type_basic: score.type_basic + 10,
type_basic: 0,
type_bank: 0,
type_credit: 0,
type_tax: 0,
type_insurance: 0,
type_investment: 0,
});
}, [score]);

Expand Down