Skip to content

Conversation

@himaniraghav3
Copy link
Collaborator

Updates the var

</PrimaryButton>
{
track === COMPETITION_TRACKS.DES && hasRegistered && !unregistering
trackName === COMPETITION_TRACKS.DES && hasRegistered && !unregistering

Choose a reason for hiding this comment

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

[❗❗ correctness]
The change from track to trackName assumes that trackName is correctly derived from track using getTrackName(track). Ensure that getTrackName reliably returns the expected track name for all possible values of track. If getTrackName can return unexpected values, it might lead to incorrect behavior when checking against COMPETITION_TRACKS.DES.

@github-advanced-security
Copy link

This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation.

@himaniraghav3 himaniraghav3 merged commit 575483e into develop Oct 29, 2025
8 checks passed
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.

2 participants