Open source video conferencing app powered by LiveKit. Built with Django and React.
🐛(frontend) avoid unnecessary refetches of room's data
lebaudantoine40457bd68a40
diff --git a/src/frontend/src/features/rooms/components/Conference.tsx b/src/frontend/src/features/rooms/components/Conference.tsxindex a1ec0dac..1efecd2c 100644--- a/src/frontend/src/features/rooms/components/Conference.tsx+++ b/src/frontend/src/features/rooms/components/Conference.tsx@@ -49,6 +49,7 @@ export const Conference = ({data,} = useQuery({queryKey: fetchKey,+ staleTime: 6 * 60 * 60 * 1000, // By default, LiveKit access tokens expire 6 hours after generationenabled: !initialRoomData,initialData: initialRoomData,queryFn: () =>