fix: forum

deskripsi:
- fix penggunaan use server menjadi API
This commit is contained in:
2025-06-04 10:48:12 +08:00
parent 42cfe650b5
commit 0de70b0384
8 changed files with 77 additions and 49 deletions

View File

@@ -80,11 +80,24 @@ export function ComponentForum_UiDetailReportKomentar() {
<Stack spacing={"xs"}>
<Text fw={"bold"}>Komentar anda</Text>
<Paper withBorder p={"sm"}>
<Text>
<div dangerouslySetInnerHTML={{ __html: data.komentar }} />
<Box
style={{
backgroundColor: MainColor.soft_darkblue,
padding: 10,
borderRadius: 8,
}}
>
<Text fz={"sm"} color="white">
{data?.komentar ? (
<Comp_V3_SetInnerHTMLWithStiker
props={data.komentar}
className="chat-content"
/>
) : (
""
)}
</Text>
</Paper>
</Box>
</Stack>
<Stack spacing={"xs"}>

View File

@@ -2,17 +2,14 @@ import UIGlobal_LayoutHeaderTamplate from "@/app_modules/_global/ui/ui_header_ta
import UIGlobal_LayoutTamplate from "@/app_modules/_global/ui/ui_layout_tamplate";
import { ComponentForum_UiDetailReportKomentar } from "../component/detail_component/ui_report_komentar";
export default function Forum_DetailReportKomentar() {
return (
<>
<UIGlobal_LayoutTamplate
header={<UIGlobal_LayoutHeaderTamplate title="Report Komentar" />}
>
{<ComponentForum_UiDetailReportKomentar />}
<ComponentForum_UiDetailReportKomentar />
</UIGlobal_LayoutTamplate>
</>
);
}