Skip to content

revert(#762): require question ID to ensure answer label IDs are unique#765

Merged
huyenltnguyen merged 1 commit intofreeCodeCamp:mainfrom
huyenltnguyen:revert/quiz-question
Mar 20, 2026
Merged

revert(#762): require question ID to ensure answer label IDs are unique#765
huyenltnguyen merged 1 commit intofreeCodeCamp:mainfrom
huyenltnguyen:revert/quiz-question

Conversation

@huyenltnguyen
Copy link
Copy Markdown
Member

@huyenltnguyen huyenltnguyen commented Mar 20, 2026

This reverts commit d8d32bd.

I have a better approach for the fix.

Now that we support React 18+, we can just use the useId hook to generate a unique ID per Answer. I'll raise a separate PR for this change.

@huyenltnguyen huyenltnguyen requested a review from a team as a code owner March 20, 2026 12:56
@huyenltnguyen huyenltnguyen merged commit 738e671 into freeCodeCamp:main Mar 20, 2026
7 checks passed
@huyenltnguyen huyenltnguyen deleted the revert/quiz-question branch March 20, 2026 13:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant