문서 파일 정리

This commit is contained in:
hansoo
2025-03-21 16:08:43 +09:00
parent 86c0035561
commit 2d08a7962b
64 changed files with 8460 additions and 45 deletions

View File

@@ -1,6 +1,7 @@
import { supabase } from '@/lib/supabase';
import { isSyncEnabled } from '../syncSettings';
import { addToDeletedTransactions } from './deletedTransactionsTracker';
/**
* Supabase 서버에서 트랜잭션을 삭제하는 함수 - 안정성 및 성능 최적화 버전
@@ -21,6 +22,9 @@ export const deleteTransactionFromServer = async (userId: string, transactionId:
}, 2000);
try {
// 삭제된 트랜잭션 ID 추적 목록에 추가
addToDeletedTransactions(transactionId);
// 서버 요청 실행
const { error } = await supabase
.from('transactions')