From b6bf988209985fd6a4593dfc5ea6b1a10b7f65ac Mon Sep 17 00:00:00 2001 From: Billy Brawner Date: Wed, 15 Jun 2022 20:26:54 -0600 Subject: [PATCH] Fix transaction deletion not removing transactions from list --- Twigs/DataStore.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Twigs/DataStore.swift b/Twigs/DataStore.swift index c9075e2..549b56b 100644 --- a/Twigs/DataStore.swift +++ b/Twigs/DataStore.swift @@ -460,6 +460,7 @@ class DataStore : ObservableObject { do { try await self.apiService.deleteTransaction(transaction.id) self.transaction = .empty + await getTransactions() } catch { self.transaction = .error(error, transaction) }