Fix loader fetch data di Forum dan Forumku
### No Issue
This commit is contained in:
@@ -203,10 +203,9 @@ export default function Forum_ViewBeranda2() {
|
||||
/>
|
||||
}
|
||||
onEndReached={loadMore}
|
||||
// ListHeaderComponent={ListHeaderComponent}
|
||||
ListFooterComponent={ListFooterComponent}
|
||||
ListEmptyComponent={
|
||||
_.isEmpty(listData) ? <SkeletonListComponent /> : <EmptyComponent />
|
||||
loading && _.isEmpty(listData) ? <SkeletonListComponent /> : <EmptyComponent />
|
||||
}
|
||||
// ------------------------
|
||||
/>
|
||||
|
||||
@@ -207,7 +207,7 @@ export default function View_Forumku2() {
|
||||
ListHeaderComponent={randerHeaderComponent()}
|
||||
ListFooterComponent={ListFooterComponent}
|
||||
ListEmptyComponent={
|
||||
_.isEmpty(listData) ? <SkeletonListComponent /> : <EmptyComponent />
|
||||
loading && _.isEmpty(listData) ? <SkeletonListComponent /> : <EmptyComponent />
|
||||
}
|
||||
/>
|
||||
</>
|
||||
|
||||
Reference in New Issue
Block a user