diff --git a/Projects/Features/Recommend/Sources/Presentation/RecommendView.swift b/Projects/Features/Recommend/Sources/Presentation/RecommendView.swift index 3190545..eff5181 100644 --- a/Projects/Features/Recommend/Sources/Presentation/RecommendView.swift +++ b/Projects/Features/Recommend/Sources/Presentation/RecommendView.swift @@ -129,6 +129,9 @@ public struct RecommendView: View { ) ) .edgesIgnoringSafeArea(.bottom) + .onAppear { + viewModel.dispatch(type: .viewInitialized) + } .onChange(of: viewModel.state.isSuccessFetch) { withAnimation(.spring()) { currentOffsetY = viewModel.state.isSuccessFetch ? .zero : 20