mirror of
https://github.com/urosran/cally.git
synced 2026-10-24 02:47:53 +00:00
Apple calendar sync, timezone, first day of week additions
This commit is contained in:
@@ -6,7 +6,7 @@ import {useAtomValue} from "jotai";
|
||||
import {isFamilyViewAtom} from "@/components/pages/calendar/atoms";
|
||||
|
||||
export const useGetEvents = () => {
|
||||
const { user, profileData } = useAuthContext();
|
||||
const {user, profileData} = useAuthContext();
|
||||
const isFamilyView = useAtomValue(isFamilyViewAtom)
|
||||
|
||||
return useQuery({
|
||||
@@ -43,5 +43,7 @@ export const useGetEvents = () => {
|
||||
};
|
||||
}));
|
||||
},
|
||||
staleTime: Infinity,
|
||||
cacheTime: Infinity
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user