Fix issue deleting transactions
Fixes an issue where deleting a transaction on the transaction history screen would cause the application to freeze.
This commit is contained in:
@@ -66,6 +66,7 @@ export const useTransactionsCore = () => {
|
||||
|
||||
// 데이터 강제 새로고침
|
||||
const refreshTransactions = useCallback(() => {
|
||||
console.log('트랜잭션 강제 새로고침');
|
||||
setRefreshKey(prev => prev + 1);
|
||||
loadTransactions();
|
||||
}, [loadTransactions, setRefreshKey]);
|
||||
|
||||
Reference in New Issue
Block a user