fix: forum
deskripsi: - fix penggunaan use server menjadi API
This commit is contained in:
@@ -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"}>
|
||||
|
||||
@@ -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>
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user