Skip to content

Commit

Permalink
Fix result issue
Browse files Browse the repository at this point in the history
  • Loading branch information
cham11ng committed Oct 2, 2023
1 parent ff289ea commit 8de835a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const Main = () => {
const baseScore = calculateBaseScore(newMetricWeights)
const severity = checkSeverity(baseScore)

setResult(severity)
setResult({ baseScore, severity })
}
};

Expand Down

0 comments on commit 8de835a

Please sign in to comment.