Fix : Avatar
Deskripsi: - Ubah avatar yang image nya di ambil dari storage wibu server - Avatar forum - Avatra job - Avatar Investasi - Avatar donasi ## No Issuee
This commit is contained in:
@@ -19,7 +19,7 @@ export default async function Page({ params }: { params: { id: string } }) {
|
||||
"Profile.imagesBackgroundId",
|
||||
]);
|
||||
// console.log(dataAuthor)
|
||||
// console.log(auhtorSelectedData)
|
||||
// console.log(auhtorSelectedData)
|
||||
|
||||
// await new Promise((a, b) => {
|
||||
// setTimeout(a, 1000);
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
import { LayoutDetailSahamTerbeli } from "@/app_modules/investasi";
|
||||
import React from "react";
|
||||
|
||||
export default async function Layout({children}: {children: React.ReactNode}) {
|
||||
return<>
|
||||
<LayoutDetailSahamTerbeli>{children}</LayoutDetailSahamTerbeli>
|
||||
</>
|
||||
}
|
||||
@@ -1,13 +0,0 @@
|
||||
import { DetailSahamTerbeli } from "@/app_modules/investasi";
|
||||
import funTotalInvestorByIdInvestasi from "@/app_modules/investasi/fun/fun_total_investor_by_id";
|
||||
import getOneTransaksiBerhasilByIdInvestasi from "@/app_modules/investasi/fun/get_one_transaksi_by_id";
|
||||
|
||||
export default async function Page({ params }: { params: { id: string } }) {
|
||||
const dataTransaksi = await getOneTransaksiBerhasilByIdInvestasi(params.id);
|
||||
const investor = await funTotalInvestorByIdInvestasi(
|
||||
dataTransaksi?.Investasi.id as any
|
||||
);
|
||||
// console.log(investor);
|
||||
|
||||
return <DetailSahamTerbeli dataTransaksi={dataTransaksi as any} investor={investor} />;
|
||||
}
|
||||
Reference in New Issue
Block a user