Skip to content

Conversation

@scttcper
Copy link
Member

Migrate to the in-memory test router and removes params/location props from deprecated route props. more work is needed to finish off the other props though.

Migrate to the in-memory test router and removes params/location props from deprecated route props. more work is needed to finish off the other props though.
@scttcper scttcper requested a review from a team as a code owner December 29, 2025 22:49
@scttcper scttcper requested a review from a team December 29, 2025 22:49
@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Dec 29, 2025
const [alertOption, setAlertOption] = useState<AlertType>(
location.query.alert_option in AlertWizardAlertNames
? location.query.alert_option
alertOptionQuery && alertOptionQuery in AlertWizardAlertNames
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: do we need this condition?

Suggested change
alertOptionQuery && alertOptionQuery in AlertWizardAlertNames
alertOptionQuery in AlertWizardAlertNames

Copy link
Member Author

Choose a reason for hiding this comment

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

not really but it makes typescript happy

@scttcper scttcper merged commit ced198d into master Dec 29, 2025
53 checks passed
@scttcper scttcper deleted the scttcper/test-alert-wizard-migrate-off-deprecatedRouterMocks branch December 29, 2025 23:35
@github-actions github-actions bot locked and limited conversation to collaborators Jan 14, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants