File tree Expand file tree Collapse file tree
feature/mypage/src/main/java/com/terning/feature/mypage Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ fun MyPageRoute(
121121 }
122122 }
123123
124- LaunchedEffect (Unit ) {
124+ LaunchedEffect (key1 = true ) {
125125 viewModel.getProfile()
126126 }
127127
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ package com.terning.feature.mypage.profileedit
33import androidx.lifecycle.ViewModel
44import androidx.lifecycle.viewModelScope
55import com.terning.domain.mypage.entity.MyPageProfileEdit
6+ import com.terning.domain.mypage.repository.MyPageRepository
67import dagger.hilt.android.lifecycle.HiltViewModel
78import kotlinx.coroutines.flow.MutableSharedFlow
89import kotlinx.coroutines.flow.MutableStateFlow
@@ -16,7 +17,7 @@ import com.terning.core.designsystem.R as DesignSystemR
1617
1718@HiltViewModel
1819class 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 ())
You can’t perform that action at this time.
0 commit comments