From 959c6dbc337ba0b82e51a883da63c110be0a46ad Mon Sep 17 00:00:00 2001 From: Riccardo Date: Mon, 16 Aug 2021 09:06:16 +0200 Subject: [PATCH] Fix --- client/src/components/appointment/AppointmentList.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 (