Skip to content

Commit

Permalink
fix: unused current booleans removed
Browse files Browse the repository at this point in the history
  • Loading branch information
berenteb committed Jan 14, 2024
1 parent c502c47 commit 5ea887c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
24 changes: 13 additions & 11 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions components/schedule/schedule-list-item.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ interface ScheduleListItemProps {
export function ScheduleListItem({ schedule }: ScheduleListItemProps) {
const startTime = format(new Date(schedule.start), 'HH:mm');
const endTime = format(new Date(schedule.end), 'HH:mm');
const isCurrent = isScheduleCurrent(schedule);
const isUpcoming = isScheduleUpcoming(schedule);
return (
<Pressable className='rounded-xl bg-white flex-row p-3 items-center shadow-md shadow-slate-500/30'>
<Image source={{ uri: schedule.presenterImage }} className='rounded-full h-14 w-14' />
Expand Down

0 comments on commit 5ea887c

Please sign in to comment.