Skip to content
This repository has been archived by the owner on Mar 8, 2024. It is now read-only.

Commit

Permalink
♻️ :: empty 처리
Browse files Browse the repository at this point in the history
  • Loading branch information
Tmdhoon2 committed Nov 18, 2023
1 parent 8879e6d commit ed964e7
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,9 @@ internal fun Feed(
)

LaunchedEffect(Unit) {
feedViewModel.fetchPosts()
if (state.posts.isEmpty()) {
feedViewModel.fetchPosts()
}
}

if (showDialog) {
Expand Down

0 comments on commit ed964e7

Please sign in to comment.