Refactor useSyncSettings hook
Refactor the useSyncSettings hook to improve code quality and maintain consistency with other files.
This commit is contained in:
10
src/hooks/sync/index.ts
Normal file
10
src/hooks/sync/index.ts
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
|
||||||
|
// 주요 동기화 훅 내보내기
|
||||||
|
export * from './useSyncToggle';
|
||||||
|
export * from './useManualSync';
|
||||||
|
export * from './useSyncStatus';
|
||||||
|
export * from './syncTime';
|
||||||
|
export * from './syncResultHandler';
|
||||||
|
export * from './syncPerformer';
|
||||||
|
export * from './syncNetworkChecker';
|
||||||
|
export * from './syncBackupUtils';
|
||||||
@@ -1,9 +1,7 @@
|
|||||||
|
|
||||||
import { useState, useEffect } from 'react';
|
import { useState, useEffect } from 'react';
|
||||||
import { useAuth } from '@/contexts/auth';
|
import { useAuth } from '@/contexts/auth';
|
||||||
import { useSyncToggle } from './sync/useSyncToggle';
|
import { useSyncToggle, useManualSync, useSyncStatus } from './sync';
|
||||||
import { useManualSync } from './sync/useManualSync';
|
|
||||||
import { useSyncStatus } from './sync/useSyncStatus';
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 동기화 설정 관리를 위한 커스텀 훅
|
* 동기화 설정 관리를 위한 커스텀 훅
|
||||||
|
|||||||
Reference in New Issue
Block a user