Invesment

Fix:
- ComponentBoxOnBottomDetail: file route > /(file)/[id].tsx

Feature:
- app/(application)/(file)/

## No Issue
This commit is contained in:
2025-08-01 15:09:20 +08:00
parent db0f4246b6
commit 0eebe64647
5 changed files with 29 additions and 24 deletions

View File

@@ -8,7 +8,7 @@ export default function InvestmentListOfDocument() {
<Investment_BoxDetailDocument
key={index}
title={`Judul Dokumen ${index + 1}`}
href={`/investment/${index + 1}/dokumen/file`}
href={`/(file)/${index + 1}`}
/>
))}
</ViewWrapper>

View File

@@ -53,7 +53,7 @@ export default function InvestmentRecapOfDocument() {
onPress={() => setOpenDrawerBox(true)}
/>
}
href={`/investment/${id}/dokumen/file`}
href={`/(file)/${id}`}
/>
))}
</ViewWrapper>

View File

@@ -1,20 +0,0 @@
import { BackButton, TextCustom, ViewWrapper } from "@/components";
import { Stack, useLocalSearchParams } from "expo-router";
import _ from "lodash";
export default function InvestmentProspectus() {
const { file } = useLocalSearchParams();
return (
<>
<Stack.Screen
options={{
title: `Pratinjau ${_.startCase(file as string)}`,
headerLeft: () => <BackButton />,
}}
/>
<ViewWrapper>
<TextCustom>Pratinjau File</TextCustom>
</ViewWrapper>
</>
);
}