Skip to content

Commit 349023a

Browse files
committed
improve accessibility adding aria-label
1 parent b101530 commit 349023a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/store/testStore.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,6 @@ export const useTestStore = create<TestStore>((set, get) => ({
9696
});
9797
},
9898
addTestExplanation: (questionId, explanation) => {
99-
"addTestExplanation", questionId, explanation;
10099
const newQuestions = get().questions.map((q) => {
101100
if (q.id === questionId) {
102101
return {
@@ -106,6 +105,7 @@ export const useTestStore = create<TestStore>((set, get) => ({
106105
}
107106
return q;
108107
});
108+
console.log("newQuestions", newQuestions);
109109
const currentQuestion = newQuestions?.find((q) => q.id === questionId);
110110
if (!newQuestions || !currentQuestion) return;
111111
set({

0 commit comments

Comments
 (0)