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

fix(protocol-designer): set numMultiples to numItems instead of 0 #15286

Merged
merged 1 commit into from
May 29, 2024

Conversation

jerader
Copy link
Collaborator

@jerader jerader commented May 29, 2024

closes RQA-2787

Overview

This was a good catch by @DerekMaggio! Basically, the numMultiples was being set to 0 on render instead of remembering the actual number. So if you go back to change something, the numMultiples would be reset to 0, disallowing the user to select the down arrow.

Test Plan

follow the test plan outlined in the attached ticket!

Changelog

  • set the useState correctly

Review requests

see test plan

Risk assessment

low

@jerader jerader requested a review from a team as a code owner May 29, 2024 19:10
@jerader jerader requested review from koji, a team and sanni-t and removed request for a team May 29, 2024 19:10
Copy link
Contributor

@koji koji left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm
tested all cases and the button worked as expected.

great job, @DerekMaggio!

@jerader jerader merged commit 50f455b into edge May 29, 2024
24 checks passed
@jerader jerader deleted the pd_fix-down-arrow branch May 29, 2024 19:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants