Added todos.

This commit is contained in:
Lucid Kobold
2022-02-10 02:14:42 -06:00
parent d1d9c41005
commit 622ec49933

View File

@@ -62,11 +62,15 @@ const AddSticker = ({
handleClose(); handleClose();
}; };
// useEffect(() => { // TODO: Invalidate submit button if the selected sticker is the same as the current sticker.
// if (selectedSticker !== null) {
// addEditSticker(date, selectedSticker);
// } // TODO: Display the current sticker above the selection screen if a current sticker exists.
// }, [selectedSticker]);
// 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 ( return (
<Fragment> <Fragment>