Commit Graph

3 Commits

Author SHA1 Message Date
8d3c4796ea feat: add deleteTransaction function
- Add deleteTransaction callback to hook
- Use filter to remove by id
- Save to AsyncStorage after delete
2026-04-18 12:21:53 +07:00
2b532c7472 feat: add addTransaction function
- Add addTransaction callback to hook
- Use useCallback for performance
- Save to AsyncStorage on add
2026-04-18 12:21:41 +07:00
9e41d16f8a feat: create useTransactions hook
- Add useState for transactions array
- Add useEffect to load from AsyncStorage
- Add loading state
2026-04-18 12:21:28 +07:00