Fix sync toggle issue
The sync toggle was not working as expected. This commit fixes the issue.
This commit is contained in:
@@ -55,7 +55,7 @@ export const clearCloudData = async (userId: string): Promise<boolean> => {
|
||||
|
||||
// 동기화 설정 초기화 및 마지막 동기화 시간 초기화
|
||||
localStorage.removeItem('lastSync');
|
||||
localStorage.setItem('syncEnabled', 'false'); // 동기화 설정을 OFF로 변경 (수정된 부분)
|
||||
localStorage.setItem('syncEnabled', 'false'); // 동기화 설정을 OFF로 변경
|
||||
|
||||
console.log('클라우드 데이터 초기화 완료 및 동기화 설정 OFF');
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user