deskripsi:

Fix: ProfileSection & /dummy-user ( image )
Event: box publisj

# No Issue"
This commit is contained in:
2025-07-23 10:25:40 +08:00
parent 81d86885f4
commit aa4ea9fb0c
9 changed files with 18 additions and 10 deletions

View File

@@ -56,10 +56,11 @@ export default function EventHistory() {
<Event_BoxPublishSection
key={index.toString()}
id={index.toString()}
username={`Hisrory ${activeCategory === "main" ? "Saya" : "Semua"}`}
username={`Riwayat ${activeCategory === "main" ? "Saya" : "Semua"}`}
rightComponentAvatar={
<TextCustom>{new Date().toLocaleDateString()}</TextCustom>
}
href={`/event/${index}/history`}
/>
))}
</ViewWrapper>

View File

@@ -12,7 +12,11 @@ export default function EventBeranda() {
}
>
{Array.from({ length: 10 }).map((_, index) => (
<Event_BoxPublishSection key={index} id={index.toString()} />
<Event_BoxPublishSection
key={index}
id={index.toString()}
href={`/event/${index}/publish`}
/>
))}
</ViewWrapper>
);

View File

@@ -4,8 +4,8 @@ import LeftButtonCustom from "@/components/Button/BackButton";
import DrawerCustom from "@/components/Drawer/DrawerCustom";
import { MainColor } from "@/constants/color-palet";
import { drawerItemsProfile } from "@/screens/Profile/ListPage";
import Profile_MenuDrawerSection from "@/screens/Profile/MenuDrawerSection";
import ProfilSection from "@/screens/Profile/ProfilSection";
import Profile_MenuDrawerSection from "@/screens/Profile/menuDrawerSection";
import ProfileSection from "@/screens/Profile/ProfileSection";
import { GStyles } from "@/styles/global-styles";
import { Ionicons } from "@expo/vector-icons";
import { router, Stack, useLocalSearchParams } from "expo-router";
@@ -52,7 +52,7 @@ export default function Profile() {
headerTitleStyle: GStyles.headerTitleStyle,
}}
/>
<ProfilSection />
<ProfileSection />
</ViewWrapper>
{/* Drawer Komponen Eksternal */}