From 3287f4c287797f1d647b9ee29b542e7905759bdb Mon Sep 17 00:00:00 2001 From: Bagasbanuna02 Date: Tue, 16 Sep 2025 11:17:36 +0800 Subject: [PATCH] Event Fix: - user)/event/(tabs)/contribution: tampilan creator yang di depan - /Event/ButtonStatusSection: return message ### No Issuue --- .../(user)/event/(tabs)/contribution.tsx | 11 ++++++----- screens/Event/ButtonStatusSection.tsx | 2 +- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/app/(application)/(user)/event/(tabs)/contribution.tsx b/app/(application)/(user)/event/(tabs)/contribution.tsx index e554ae4..8a5266b 100644 --- a/app/(application)/(user)/event/(tabs)/contribution.tsx +++ b/app/(application)/(user)/event/(tabs)/contribution.tsx @@ -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() { > {dateTimeView({ @@ -83,10 +84,10 @@ export default function EventContribution() { } /> - + {item?.Event?.title} - + {/* {item?.Event?.Event_Peserta?.map( diff --git a/screens/Event/ButtonStatusSection.tsx b/screens/Event/ButtonStatusSection.tsx index ac58dc9..afc55d8 100644 --- a/screens/Event/ButtonStatusSection.tsx +++ b/screens/Event/ButtonStatusSection.tsx @@ -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 {