diff --git a/client/src/components/appointment/AppointmentList.js b/client/src/components/appointment/AppointmentList.js index 3bdc3a1..6f60d12 100644 --- a/client/src/components/appointment/AppointmentList.js +++ b/client/src/components/appointment/AppointmentList.js @@ -16,7 +16,7 @@ export const APPOINTMENTS_QUERY = gql` const AppointmentList = () => { - const { data, loading } = useQuery(APPOINTMENTS_QUERY); + const { data } = useQuery(APPOINTMENTS_QUERY); if (data !== undefined) { return (