mirror of
https://github.com/urosran/cally.git
synced 2025-11-27 00:44:54 +00:00
ui fixes and date press feature
This commit is contained in:
@ -81,11 +81,9 @@ export const ManuallyAddEventModal = () => {
|
||||
);
|
||||
|
||||
useEffect(() => {
|
||||
console.log(allDayAtom);
|
||||
return () => {
|
||||
setAllDayAtom(false);
|
||||
};
|
||||
}, []);
|
||||
if(allDayAtom === true) setIsAllDay(true);
|
||||
}, [allDayAtom])
|
||||
|
||||
|
||||
const [startTime, setStartTime] = useState(() => {
|
||||
const date = initialDate ?? new Date();
|
||||
|
||||
Reference in New Issue
Block a user