notification/12-dec-25 #29

Merged
bagasbanuna merged 21 commits from notification/12-dec-25 into staging 2025-12-12 17:51:59 +08:00
51 changed files with 2232 additions and 514 deletions
Showing only changes of commit 69452ff4e7 - Show all commits

View File

@@ -145,7 +145,7 @@ export const AuthProvider = ({ children }: { children: React.ReactNode }) => {
await AsyncStorage.setItem("userData", JSON.stringify(dataUser));
return dataUser;
} catch (error: any) {
console.log(error.response?.data?.message + "user" || "Gagal mengambil data user");
console.log("[LOAD USER DATA]",error.response?.data?.message + "user" || "Gagal mengambil data user");
} finally {
setIsLoading(false);
}

View File

@@ -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 />
}
// ------------------------
/>

View File

@@ -207,7 +207,7 @@ export default function View_Forumku2() {
ListHeaderComponent={randerHeaderComponent()}
ListFooterComponent={ListFooterComponent}
ListEmptyComponent={
_.isEmpty(listData) ? <SkeletonListComponent /> : <EmptyComponent />
loading && _.isEmpty(listData) ? <SkeletonListComponent /> : <EmptyComponent />
}
/>
</>