Skip to content

Commit

Permalink
Merge pull request #5154 from NTARelix/fix/asl-smell
Browse files Browse the repository at this point in the history
Remove unused Id prop from access schedule list
  • Loading branch information
thornbill authored Feb 7, 2024
2 parents a5a0122 + c2d1923 commit 657b15e
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
1 change: 0 additions & 1 deletion src/apps/dashboard/routes/users/parentalcontrol.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down
1 change: 0 additions & 1 deletion src/components/dashboard/users/AccessScheduleList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import IconButtonElement from '../../../elements/IconButtonElement';

type AccessScheduleListProps = {
index: number;
Id?: number;
DayOfWeek?: string;
StartHour?: number ;
EndHour?: number;
Expand Down

0 comments on commit 657b15e

Please sign in to comment.