Skip to content

Conversation

@himaniraghav3
Copy link
Collaborator

No description provided.

const onOpenReviewApp = () => {
if (!challenge || !challenge.id) return;
const url = `${config.REVIEW_APP_URL}/active-challenges/${challenge.id}/challenge-details?tab=submission`;
const tab = submissionObject.type === 'CHECKPOINT_SUBMISSION' || submissionObject.type === 'CONTEST_SUBMISSION'

Choose a reason for hiding this comment

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

[⚠️ maintainability]
Consider using a constant or enum for submission types like 'CHECKPOINT_SUBMISSION' and 'CONTEST_SUBMISSION' to avoid magic strings and improve maintainability.

@himaniraghav3 himaniraghav3 merged commit d1bfa6a into develop Nov 27, 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