Skip to content

Commit

Permalink
[TNT-189] fix: onBackClick 이벤트로 처리
Browse files Browse the repository at this point in the history
  • Loading branch information
SeonJeongk committed Feb 2, 2025
1 parent 70f7c2a commit d5e4b38
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import co.kr.tnt.designsystem.component.TnTTopBarWithBackButton
import co.kr.tnt.designsystem.component.notification.TnTNotification
import co.kr.tnt.designsystem.component.notification.model.NotificationIcon
import co.kr.tnt.designsystem.theme.TnTTheme
import co.kr.tnt.trainee.notification.TraineeNotificationContract.TraineeNotificationUiEvent
import co.kr.tnt.trainee.notification.TraineeNotificationContract.TraineeNotificationUiState
import co.kr.tnt.ui.model.NotificationState
import co.kr.tnt.core.ui.R as uiResource
Expand All @@ -36,7 +37,7 @@ internal fun TraineeNotificationRoute(

TraineeNotificationScreen(
state = uiState,
onBackClick = navigateToPrevious,
onBackClick = { viewModel.setEvent(TraineeNotificationUiEvent.OnBackClick) },
)

LaunchedEffect(viewModel.effect) {
Expand Down

0 comments on commit d5e4b38

Please sign in to comment.