Merge pull request #5154 from NTARelix/fix/asl-smell

Remove unused Id prop from access schedule list
This commit is contained in:
Bill Thornton
2024-02-07 01:17:58 -05:00
committed by GitHub
3 changed files with 1 additions and 2 deletions
+1
View File
@@ -78,6 +78,7 @@
- [DinuD](https://github.com/DinuD)
- [Kevin Tan (Valius)](https://github.com/valius)
- [Rasmus Krämer](https://github.com/rasmuslos)
- [ntarelix](https://github.com/ntarelix)
## Emby Contributors
@@ -414,7 +414,6 @@ const UserParentalControl: FunctionComponent = () => {
return <AccessScheduleList
key={accessSchedule.Id}
index={index}
Id={accessSchedule.Id}
DayOfWeek={accessSchedule.DayOfWeek}
StartHour={accessSchedule.StartHour}
EndHour={accessSchedule.EndHour}
@@ -5,7 +5,6 @@ import IconButtonElement from '../../../elements/IconButtonElement';
type AccessScheduleListProps = {
index: number;
Id?: number;
DayOfWeek?: string;
StartHour?: number ;
EndHour?: number;