refactor: code style improvements

This commit is contained in:
4gray committed 2023-12-06 21:08:43 +01:00
1 parent 2131ba21c8
commit 8fb8dac039
1 file changed
+2 -2
@@ -143,8 +143,8 @@ export class ChannelListContainerComponent {
* @param index index of the channel item
* @param channel channel object
*/
trackByFn(index: number, channel: Channel): string {
return channel.id;
trackByFn(_: number, channel: Channel): string {
return channel?.id;
}
drop(event: CdkDragDrop<Channel[]>, favorites: Channel[]) {