From 622ec4993387f258fa297358b6510208baa7abdc Mon Sep 17 00:00:00 2001 From: Lucid Kobold Date: Thu, 10 Feb 2022 02:14:42 -0600 Subject: [PATCH] Added todos. --- components/calender/modals/AddSticker.tsx | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/components/calender/modals/AddSticker.tsx b/components/calender/modals/AddSticker.tsx index 0314c0a..0db24ed 100644 --- a/components/calender/modals/AddSticker.tsx +++ b/components/calender/modals/AddSticker.tsx @@ -62,11 +62,15 @@ const AddSticker = ({ handleClose(); }; - // useEffect(() => { - // if (selectedSticker !== null) { - // addEditSticker(date, selectedSticker); - // } - // }, [selectedSticker]); + // TODO: Invalidate submit button if the selected sticker is the same as the current sticker. + + + // TODO: Display the current sticker above the selection screen if a current sticker exists. + + // TODO: Invalidate the button for the current sticker and gray it out. + + // TODO: Trigger a warning if the date is in the past showing the sticker change. + // ! DO NOT update the sticker state or trigger the edd/edit function until that new warning is accepted. return (