Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

polls: PollDetail/PollQuestions.jsx: clean up isReadOnly #1732

Merged
merged 1 commit into from
Dec 18, 2024

Conversation

hom3mad3
Copy link
Contributor

Cleaned up the conditional rendering logic in the Poll component's readonly state check. The changes improve code readability while maintaining existing functionality. Added clear section comments and consistent formatting for better maintainability.

@hom3mad3 hom3mad3 requested review from m4ra and goapunk December 17, 2024 08:40
@hom3mad3 hom3mad3 merged commit 420c74c into main Dec 18, 2024
5 checks passed
@hom3mad3 hom3mad3 deleted the mr-2024-12-polls-small-fixes branch December 18, 2024 14:04
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