Skip to content

Commit 59e66a2

Browse files
committed
[CHORE/#352] 코드 일부 수정
1 parent c3fdd27 commit 59e66a2

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

feature/mypage/src/main/java/com/terning/feature/mypage/mypage/MyPageRoute.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ fun MyPageRoute(
121121
}
122122
}
123123

124-
LaunchedEffect(Unit) {
124+
LaunchedEffect(key1 = true) {
125125
viewModel.getProfile()
126126
}
127127

feature/mypage/src/main/java/com/terning/feature/mypage/profileedit/ProfileEditViewModel.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ package com.terning.feature.mypage.profileedit
33
import androidx.lifecycle.ViewModel
44
import androidx.lifecycle.viewModelScope
55
import com.terning.domain.mypage.entity.MyPageProfileEdit
6+
import com.terning.domain.mypage.repository.MyPageRepository
67
import dagger.hilt.android.lifecycle.HiltViewModel
78
import kotlinx.coroutines.flow.MutableSharedFlow
89
import kotlinx.coroutines.flow.MutableStateFlow
@@ -16,7 +17,7 @@ import com.terning.core.designsystem.R as DesignSystemR
1617

1718
@HiltViewModel
1819
class ProfileEditViewModel @Inject constructor(
19-
private val myPageRepository: com.terning.domain.mypage.repository.MyPageRepository,
20+
private val myPageRepository: MyPageRepository,
2021
) : ViewModel() {
2122

2223
private val _state: MutableStateFlow<ProfileEditState> = MutableStateFlow(ProfileEditState())

0 commit comments

Comments
 (0)