Fix display issue

Addresses a problem where the screen was not displaying correctly.
This commit is contained in:
gpt-engineer-app[bot]
2025-03-15 05:17:38 +00:00
parent d74acdbbb8
commit 1676fb1649
4 changed files with 205 additions and 108 deletions

View File

@@ -14,3 +14,13 @@ export const isSyncEnabled = (): boolean => {
export const setSyncEnabled = (enabled: boolean): void => {
localStorage.setItem('syncEnabled', enabled.toString());
};
// 최종 동기화 시간 관리
export const getLastSyncTime = (): string | null => {
return localStorage.getItem('lastSyncTime');
};
export const setLastSyncTime = (): void => {
const now = new Date().toISOString();
localStorage.setItem('lastSyncTime', now);
};