Kantongku: hardening - ErrorBoundary + catch semua load async (anti force-close)

This commit is contained in:
Bro
2026-08-16 21:20:39 +07:00
parent 639f3a4ef6
commit cb22c1394a
6 changed files with 50 additions and 29 deletions
+1 -3
View File
@@ -69,9 +69,7 @@ export function SavingsScreen() {
useFocusEffect(
useCallback(() => {
let active = true;
load().then(() => {
if (!active) return;
});
load().catch(() => {});
return () => {
active = false;
};