Closed jdegand closed 3 weeks ago
In list-header.component.ts on line 7, router-link is used instead of routerLink. Clicking on the title doesn't send you back to the home route (products). You will also have to add imports : [RouterLink] in the @Component after selector.
list-header.component.ts
router-link
routerLink
imports : [RouterLink]
@Component
selector
In
list-header.component.ts
on line 7,router-link
is used instead ofrouterLink
. Clicking on the title doesn't send you back to the home route (products). You will also have to addimports : [RouterLink]
in the@Component
afterselector
.