Fix: Remove unused import

The `startNetworkMonitoring` import was removed from `src/App.tsx` because it does not exist in the `syncUtils` module.
This commit is contained in:
gpt-engineer-app[bot]
2025-03-21 08:45:28 +00:00
parent 6ec671e9ab
commit 14b04cb384
3 changed files with 6 additions and 5 deletions

View File

@@ -1,3 +1,4 @@
import { useState, useEffect } from 'react';
import { useAuth } from '@/contexts/auth';
import { toast } from '@/hooks/useToast.wrapper';
@@ -81,7 +82,7 @@ export const useSyncToggle = () => {
if (checked && user) {
try {
// 인자 수정: 콜백 함수 제거
// 인자 수정: userId만 전달
await performSync(user.id);
} catch (error) {
console.error('동기화 중 오류, 로컬 데이터 복원 시도:', error);
@@ -119,7 +120,7 @@ const performSync = async (userId: string) => {
if (!userId) return;
try {
// 인자 수정: 콜백 함수 제거
// 인자 수정: userId만 전달
const result = await trySyncAllData(userId);
return result;
} catch (error) {