diff --git a/app/(application)/(file)/[id].tsx b/app/(application)/(file)/[id].tsx new file mode 100644 index 0000000..e39b618 --- /dev/null +++ b/app/(application)/(file)/[id].tsx @@ -0,0 +1,25 @@ +import { BackButton, ViewWrapper } from "@/components"; +import { MainColor } from "@/constants/color-palet"; +import { FontAwesome } from "@expo/vector-icons"; +import { Stack } from "expo-router"; + +export default function FileScreen() { + return ( + <> + , + }} + /> + + + + + ); +} diff --git a/app/(application)/(user)/investment/[id]/(document)/list-of-document.tsx b/app/(application)/(user)/investment/[id]/(document)/list-of-document.tsx index 0372189..0c4ead4 100644 --- a/app/(application)/(user)/investment/[id]/(document)/list-of-document.tsx +++ b/app/(application)/(user)/investment/[id]/(document)/list-of-document.tsx @@ -8,7 +8,7 @@ export default function InvestmentListOfDocument() { ))} diff --git a/app/(application)/(user)/investment/[id]/(document)/recap-of-document.tsx b/app/(application)/(user)/investment/[id]/(document)/recap-of-document.tsx index 0c7c2c2..1405c34 100644 --- a/app/(application)/(user)/investment/[id]/(document)/recap-of-document.tsx +++ b/app/(application)/(user)/investment/[id]/(document)/recap-of-document.tsx @@ -53,7 +53,7 @@ export default function InvestmentRecapOfDocument() { onPress={() => setOpenDrawerBox(true)} /> } - href={`/investment/${id}/dokumen/file`} + href={`/(file)/${id}`} /> ))} diff --git a/app/(application)/(user)/investment/[id]/[file]/file.tsx b/app/(application)/(user)/investment/[id]/[file]/file.tsx deleted file mode 100644 index 89cfab9..0000000 --- a/app/(application)/(user)/investment/[id]/[file]/file.tsx +++ /dev/null @@ -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 ( - <> - , - }} - /> - - Pratinjau File - - - ); -} diff --git a/screens/Invesment/ComponentBoxOnBottomDetail.tsx b/screens/Invesment/ComponentBoxOnBottomDetail.tsx index eac8686..5ad938e 100644 --- a/screens/Invesment/ComponentBoxOnBottomDetail.tsx +++ b/screens/Invesment/ComponentBoxOnBottomDetail.tsx @@ -25,7 +25,7 @@ export default function Invesment_ComponentBoxOnBottomDetail({ Prospektus @@ -94,7 +94,7 @@ export default function Invesment_ComponentBoxOnBottomDetail({ Prospektus