diff --git a/app/(application)/(user)/investment/[id]/edit.tsx b/app/(application)/(user)/investment/[id]/edit.tsx index c199030..af3b344 100644 --- a/app/(application)/(user)/investment/[id]/edit.tsx +++ b/app/(application)/(user)/investment/[id]/edit.tsx @@ -1,15 +1,16 @@ /* eslint-disable react-hooks/exhaustive-deps */ import { + BoxButtonOnFooter, ButtonCenteredOnly, ButtonCustom, InformationBox, LandscapeFrameUploaded, LoaderCustom, + NewWrapper, SelectCustom, Spacing, StackCustom, - TextInputCustom, - ViewWrapper, + TextInputCustom } from "@/components"; import API_STRORAGE from "@/constants/base-url-api-strorage"; import DIRECTORY_ID from "@/constants/directory-id"; @@ -198,7 +199,15 @@ export default function InvestmentEdit() { }; return ( - + + + Simpan + + + } + > - - Simpan - - - + ); } diff --git a/app/(application)/(user)/investment/create.tsx b/app/(application)/(user)/investment/create.tsx index 728b28c..14012ad 100644 --- a/app/(application)/(user)/investment/create.tsx +++ b/app/(application)/(user)/investment/create.tsx @@ -1,18 +1,19 @@ import { BaseBox, + BoxButtonOnFooter, ButtonCenteredOnly, ButtonCustom, CenterCustom, InformationBox, LandscapeFrameUploaded, - LoaderCustom, + NewWrapper, SelectCustom, Spacing, StackCustom, TextCustom, TextInputCustom, - ViewWrapper, } from "@/components"; +import CustomSkeleton from "@/components/_ShareComponent/SkeletonCustom"; import { MainColor } from "@/constants/color-palet"; import DIRECTORY_ID from "@/constants/directory-id"; import { useAuth } from "@/hooks/use-auth"; @@ -184,7 +185,19 @@ export default function InvestmentCreate() { // const [coba, setCoba] = useState(""); return ( - + + handleSubmit()} + > + Simpan + + + } + > @@ -264,7 +277,9 @@ export default function InvestmentCreate() { {loadingMaster ? ( - + ) : ( + ) : ( + ) : ( - handleSubmit()} - > - Simpan - - - + {/* */} + ); }