We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a776b14 commit 6e2fb80Copy full SHA for 6e2fb80
1 file changed
src/lib/hooks/useAssessment.ts
@@ -192,11 +192,11 @@ export default function useAssessment(assessmentId: string) {
192
prev.map((s, i) =>
193
i === currentSectionIndex
194
? {
195
- ...s,
196
- testCaseResults: s.testCaseResults.map(() => ({
197
- status: 'loading' as const,
198
- })),
199
- }
+ ...s,
+ testCaseResults: s.testCaseResults.map(() => ({
+ status: 'loading' as const,
+ })),
+ }
200
: s
201
)
202
);
0 commit comments