Spaces:
Running
Running
axeronis commited on
Commit ·
77655b9
1
Parent(s): a99b470
fix: Ensure calendar always fetches fresh tenant booking settings
Browse files
frontend/app/appointments/page.tsx
CHANGED
|
@@ -52,6 +52,8 @@ export default function AppointmentsPage() {
|
|
| 52 |
return res.data
|
| 53 |
},
|
| 54 |
enabled: !!user && !authLoading,
|
|
|
|
|
|
|
| 55 |
})
|
| 56 |
|
| 57 |
// Fetch services
|
|
|
|
| 52 |
return res.data
|
| 53 |
},
|
| 54 |
enabled: !!user && !authLoading,
|
| 55 |
+
staleTime: 0,
|
| 56 |
+
refetchOnMount: 'always',
|
| 57 |
})
|
| 58 |
|
| 59 |
// Fetch services
|