Fix loading state management in HomeScreen by ensuring loadingTransactions is set to false after fetching transactions.

This commit is contained in:
2025-09-11 01:54:16 +05:00
parent 6751cc506e
commit daae154aee

View File

@@ -235,6 +235,8 @@ const HomeScreen = () => {
} }
} catch (e) { } catch (e) {
console.warn('Error fetching transactions during refresh:', e); console.warn('Error fetching transactions during refresh:', e);
} finally {
setLoadingTransactions(false);
} }
})(), })(),
]); ]);