Integrasi API: Admin event & QR Code event
Add: - app/(application)/(user)/event/[id]/confirmation.tsx - screens/Admin/Event/ - service/api-admin/api-admin-event.ts Fix: - app.config.js : penambahan DEEP_LINK_URL untuk url QR Code - app/(application)/(user)/event/create.tsx - app/(application)/admin/event/[id]/[status]/index.tsx - app/(application)/admin/event/[id]/reject-input.tsx - app/(application)/admin/event/[status]/status.tsx - app/(application)/admin/event/index.tsx - app/(application)/admin/job/[id]/[status]/index.tsx - screens/Admin/listPageAdmin.tsx - service/api-config.ts - ### No Issue
This commit is contained in:
30
app/(application)/(user)/event/[id]/confirmation.tsx
Normal file
30
app/(application)/(user)/event/[id]/confirmation.tsx
Normal file
@@ -0,0 +1,30 @@
|
||||
import { BackButton, TextCustom, ViewWrapper } from "@/components";
|
||||
import { useAuth } from "@/hooks/use-auth";
|
||||
import { Redirect, Stack, useLocalSearchParams } from "expo-router";
|
||||
|
||||
export default function UserEventConfirmation() {
|
||||
const { token } = useAuth();
|
||||
const { id, userId } = useLocalSearchParams();
|
||||
|
||||
console.log("[TOKEN]", token);
|
||||
|
||||
if (!token) {
|
||||
return <Redirect href={`/`} />;
|
||||
}
|
||||
|
||||
return (
|
||||
<>
|
||||
<Stack.Screen
|
||||
options={{
|
||||
title: "Konfirmasi Event",
|
||||
headerLeft: () => <BackButton path={"/home"} />,
|
||||
}}
|
||||
/>
|
||||
<ViewWrapper>
|
||||
<TextCustom>
|
||||
TEST CONFIRMATION {id} {userId}
|
||||
</TextCustom>
|
||||
</ViewWrapper>
|
||||
</>
|
||||
);
|
||||
}
|
||||
@@ -191,7 +191,7 @@ export default function EventCreate() {
|
||||
placeholder="Masukkan deskripsi event"
|
||||
required
|
||||
showCount
|
||||
maxLength={100}
|
||||
maxLength={1000}
|
||||
onChangeText={(value: any) =>
|
||||
setData({ ...data, deskripsi: value })
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user