From 24c5305117d266172fe1f7192a3f455f3e3d02d2 Mon Sep 17 00:00:00 2001 From: Cristina Ferrian Date: Mon, 15 Apr 2024 19:53:13 +0200 Subject: [PATCH] fix(bookings): refetch query after check-in --- src/features/agenda/screens/BookingScreen.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/features/agenda/screens/BookingScreen.tsx b/src/features/agenda/screens/BookingScreen.tsx index 76b8150e..f6d8a366 100644 --- a/src/features/agenda/screens/BookingScreen.tsx +++ b/src/features/agenda/screens/BookingScreen.tsx @@ -136,6 +136,7 @@ export const BookingScreen = ({ navigation, route }: Props) => { }) .then(() => { setFeedback({ text: t('bookingScreen.checkInFeedback') }); + bookingsQuery.refetch(); }); } else { setFeedback({ text: t('bookingScreen.checkLocationErrorFeedback') });