Skip to content
This repository has been archived by the owner on May 2, 2022. It is now read-only.

Commit

Permalink
#28 Fixed Side-View bug
Browse files Browse the repository at this point in the history
  • Loading branch information
MilitsaB committed Apr 6, 2022
1 parent de7e3c0 commit 269d5ac
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions src/components/dashboard/PatientView/PatientView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -159,28 +159,6 @@ function PatientView() {
/>
</ListItem>
)}
{user?.canBookAppointment && (
<ListItem button key="Booking">
<ListItemIcon>
<EventIcon />
</ListItemIcon>
<ListItemText
primary="Book Appointment"
onClick={() => setBookingOpen(true)}
/>
</ListItem>
)}
{appointment && (
<ListItem button key="Appointments">
<ListItemIcon>
<EventIcon />
</ListItemIcon>
<ListItemText
primary="Next Appointment"
onClick={() => setAppointmentsViewOpen(true)}
/>
</ListItem>
)}
</List>
<Divider />
</SideBar>
Expand Down

0 comments on commit 269d5ac

Please sign in to comment.