Skip to content

Commit

Permalink
correction linter finale
Browse files Browse the repository at this point in the history
  • Loading branch information
Baptiste LYET committed Feb 27, 2024
1 parent 1bd005d commit c158177
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,17 @@ export class AppComponent implements OnInit {

selectGenre(i: number) {
this.selectedGenreIndex = i;
this.router.navigate([this.musicGenres[this.selectedGenreIndex].subGenres[0].link]).then(() => {
});
this.router.navigate([this.musicGenres[this.selectedGenreIndex].subGenres[0].link]).then(
() => {},
() => {},
);
}

selectSubGenre(i: number) {
this.selectedSubGenreIndex = i;
this.router.navigate([this.musicGenres[this.selectedGenreIndex].subGenres[this.selectedSubGenreIndex].link]).then(() => {
});
this.router.navigate([this.musicGenres[this.selectedGenreIndex].subGenres[this.selectedSubGenreIndex].link]).then(
() => {},
() => {},
);
}
}

0 comments on commit c158177

Please sign in to comment.