Fix broken undo on plans
This commit is contained in:
parent
cc5089d4b4
commit
974d2207db
|
@ -41,7 +41,6 @@ export default function StartPlanItem(props: Props) {
|
|||
setShowMenu(false);
|
||||
if (!first) return toast("Nothing to undo.");
|
||||
await setRepo.delete(first.id);
|
||||
NativeModules.AlarmModule.stop();
|
||||
onUndo();
|
||||
}, [setShowMenu, onUndo, item.name]);
|
||||
|
||||
|
|
Loading…
Reference in New Issue