Skip to content

Conversation

@apalaio
Copy link

@apalaio apalaio commented Jan 8, 2025

Checklist for challenge submission

  • Start your PR message with Answer:${challenge_number}

Warning:

  • If you want feedback or review, you must support the project on GitHub:

Alternatively, you can still submit your PR to join the list of answered challenges or to be reviewed by a community member. 🔥

@github-actions github-actions bot added 56 answer answer sponsor sponsor the project to be reviewed PR requests a review labels Jan 8, 2025
});

productId = input('1');
quantity = input(1);
Copy link
Owner

Choose a reason for hiding this comment

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

you could use this.route.snapshot.queryParams['quantity'] since this.route is created first the value is available when you want to instantiate the class,
The code is simpler. but your code works. Waiting for signal forms to make all of this easy 🔥

@tomalaforge tomalaforge removed the to be reviewed PR requests a review label Jan 29, 2025
@github-actions
Copy link

This pull request is stale because it has been open for 15 days with no activity.

@github-actions github-actions bot added the stale label Feb 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

56 answer answer sponsor sponsor the project stale

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants