Skip to content

Commit 27e8a3b

Browse files
authored
최초 로그인 시 복습 주기 드롭다운이 비어있는 버그 수정 (#25)
1 parent ec02a03 commit 27e8a3b

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/handlers/auth.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import { STORAGE_KEYS } from '../config.js';
88
import { ERROR_CODES } from '../constants.js';
99
import { registerDevice, getDevices } from '../api.js';
1010
import { setStorageData, clearStorage, validateStorageForAuth } from '../storage.js';
11+
import { handleLoadCycleOptions } from './cycle.js';
1112
import {
1213
elements,
1314
showLoading,
@@ -69,6 +70,7 @@ export async function handleCheckAuth() {
6970

7071
elements.userEmail.textContent = result.email;
7172
showView('main');
73+
await handleLoadCycleOptions();
7274
showMessage('인증이 완료되었습니다!', 'success');
7375
} catch (error) {
7476
if (error.code === ERROR_CODES.UNAUTHORIZED) {

0 commit comments

Comments
 (0)