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

Videos Not Returning On the Channel Card #35

Open
Quinn8WhateverItTakes opened this issue Sep 20, 2023 · 1 comment
Open

Videos Not Returning On the Channel Card #35

Quinn8WhateverItTakes opened this issue Sep 20, 2023 · 1 comment

Comments

@Quinn8WhateverItTakes
Copy link

None of my videos are showing up when i click on any video, nor when i click on the JS Mastery channel card. The console reads history.ts:487 No routes matched location "/channel/UCmXmlB4-HJytD7wek0Uo97A

@Bandile02
Copy link

Try this:

`// Define wildcard route
{
path: '/:catchAll(.*)',
component: NotFoundComponent
}

// Get route param
const { channelId } = this.route.snapshot.params;

// Navigate
this.router.navigate(['/channel', channelId]);`

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

No branches or pull requests

2 participants