Add: - screens/Invesment/ComponentBoxOnBottomDetail.tsx - screens/Invesment/ButtonInvestasiSection.tsx - app/(application)/(user)/investment/[id]/investor.tsx - app/(application)/(user)/investment/[id]/(news)/list-of-news.tsx Fix: - screens/Invesment/BoxDetailDataSection.tsx - app/(application)/(user)/investment/[id]/[status]/detail.tsx - app/(application)/(user)/_layout.tsx ## No Issue
18 lines
336 B
TypeScript
18 lines
336 B
TypeScript
import { ButtonCustom } from "@/components";
|
|
|
|
export default function Investment_ButtonInvestasiSection({
|
|
isMine,
|
|
}: {
|
|
isMine: boolean;
|
|
}) {
|
|
return (
|
|
<>
|
|
{isMine ? (
|
|
<ButtonCustom>Beli Saham</ButtonCustom>
|
|
) : (
|
|
<ButtonCustom disabled>Investasi Ini Milik Anda</ButtonCustom>
|
|
)}
|
|
</>
|
|
);
|
|
}
|