mirror of
https://github.com/urosran/cally.git
synced 2025-11-26 16:34:54 +00:00
Editing calendar events
- Added new hook for updating events - Updated the selected event in db - Added document id as id to the event object when fetching events - Removed unused react-native-google sign-in library
This commit is contained in:
@ -31,6 +31,7 @@ export const useGetEvents = (isFamilyView: boolean) => {
|
||||
const eventColor: string = profileData?.eventColor || colorMap.pink // Default color if not found
|
||||
|
||||
return {
|
||||
id: doc.id,
|
||||
title: data.title,
|
||||
start: new Date(data.startDate.seconds * 1000),
|
||||
end: new Date(data.endDate.seconds * 1000),
|
||||
|
||||
Reference in New Issue
Block a user