Fix broken undo on plans

This commit is contained in:
Brandon Presley 2024-02-18 00:21:27 +13:00
parent cc5089d4b4
commit 974d2207db
1 changed files with 0 additions and 1 deletions

View File

@ -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]);