New repo mobile after delete ! #1

Merged
bagasbanuna merged 233 commits from api/24-oct-25 into main 2025-10-27 11:32:16 +08:00
503 changed files with 37400 additions and 13537 deletions
Showing only changes of commit 3287f4c287 - Show all commits

View File

@@ -35,6 +35,7 @@ export default function EventContribution() {
category: "contribution",
userId: user?.id,
});
console.log("[DATA] ", JSON.stringify(response.data, null, 2));
if (response.success) {
setListData(response.data);
@@ -70,9 +71,9 @@ export default function EventContribution() {
>
<StackCustom>
<AvatarUsernameAndOtherComponent
avatar={item?.User?.Profile?.imageId}
avatarHref={`/profile/${item?.User?.Profile?.id}`}
name={item?.User?.username}
avatar={item?.Event?.Author?.Profile?.imageId}
avatarHref={`/profile/${item?.Event?.Author?.Profile?.id}`}
name={item?.Event?.Author?.username}
rightComponent={
<TextCustom truncate>
{dateTimeView({
@@ -83,10 +84,10 @@ export default function EventContribution() {
}
/>
<TextCustom bold align="center" size="xlarge">
<TextCustom bold align="center" size="xlarge" truncate={2}>
{item?.Event?.title}
</TextCustom>
<Spacing height={10} />
<Spacing height={0} />
{/* <Grid>
{item?.Event?.Event_Peserta?.map(

View File

@@ -127,7 +127,7 @@ export default function Event_ButtonStatusSection({
if (response.success) {
Toast.show({
type: "success",
text1: response.message,
text1: "Data dihapus",
});
router.back();
} else {