diff --git a/src/app/dev/admin/forum/detail/[id]/page.tsx b/src/app/dev/admin/forum/detail/[id]/page.tsx index 154b3466..8400a30e 100644 --- a/src/app/dev/admin/forum/detail/[id]/page.tsx +++ b/src/app/dev/admin/forum/detail/[id]/page.tsx @@ -1,6 +1,4 @@ import { AdminForum_LihatSemuaKomentar } from "@/app_modules/admin/forum"; -import adminForum_countKomentarByPostingId from "@/app_modules/admin/forum/fun/count/fun_count_komentar_by_id"; -import { adminForum_getListKomentarById } from "@/app_modules/admin/forum/fun/get/get_list_komentar_by_id"; import { adminForum_getOnePostingById } from "@/app_modules/admin/forum/fun/get/get_one_posting_by_id"; export default async function Page({ params }: { params: { id: string } }) { diff --git a/src/app_modules/_global/component/new/comp_set_inner_html.tsx b/src/app_modules/_global/component/new/comp_set_inner_html.tsx index 293f4b10..b4215289 100644 --- a/src/app_modules/_global/component/new/comp_set_inner_html.tsx +++ b/src/app_modules/_global/component/new/comp_set_inner_html.tsx @@ -1,6 +1,6 @@ import { MainColor } from "../../color"; -export const Comp_DangerouslySetInnerHTML = ({ +export const Comp_SetInnerHTML = ({ props, color, style: styleInput, diff --git a/src/app_modules/admin/donasi/component/tampilan_detail_cerita.tsx b/src/app_modules/admin/donasi/component/tampilan_detail_cerita.tsx index 1173cd93..8a19f9d2 100644 --- a/src/app_modules/admin/donasi/component/tampilan_detail_cerita.tsx +++ b/src/app_modules/admin/donasi/component/tampilan_detail_cerita.tsx @@ -13,7 +13,7 @@ import { } from "@mantine/core"; import { Admin_ComponentLoadImageLandscape } from "../../_admin_global"; import { AdminColor } from "@/app_modules/_global/color/color_pallet"; -import { Comp_DangerouslySetInnerHTML } from "@/app_modules/_global/component/new/comp_set_inner_html"; +import { Comp_SetInnerHTML } from "@/app_modules/_global/component/new/comp_set_inner_html"; export default function ComponentAdminDonasi_CeritaPenggalangDana({ cerita, @@ -28,13 +28,13 @@ export default function ComponentAdminDonasi_CeritaPenggalangDana({ Cerita Penggalang Dana - + - + diff --git a/src/app_modules/admin/event/_component/comp_detail_data.tsx b/src/app_modules/admin/event/_component/comp_detail_data.tsx index 9ca9c3ae..1b785c7b 100644 --- a/src/app_modules/admin/event/_component/comp_detail_data.tsx +++ b/src/app_modules/admin/event/_component/comp_detail_data.tsx @@ -4,7 +4,7 @@ import moment from "moment"; import "moment/locale/id"; import { Admin_ComponentBoxStyle } from "../../_admin_global/_component/comp_admin_boxstyle"; import { Admin_V3_ComponentDetail } from "../../_components_v3/comp_detail_data"; -import { Comp_DangerouslySetInnerHTML } from "@/app_modules/_global/component/new/comp_set_inner_html"; +import { Comp_SetInnerHTML } from "@/app_modules/_global/component/new/comp_set_inner_html"; function AdminEvent_ComponentDetailData({ data, @@ -57,7 +57,7 @@ function AdminEvent_ComponentDetailData({ }, { label: "Deskripsi", - value: , + value: , }, ]; diff --git a/src/app_modules/admin/forum/component/detail_one_komentar.tsx b/src/app_modules/admin/forum/component/detail_one_komentar.tsx index 3e26ffba..1e3873d1 100644 --- a/src/app_modules/admin/forum/component/detail_one_komentar.tsx +++ b/src/app_modules/admin/forum/component/detail_one_komentar.tsx @@ -1,7 +1,7 @@ "use client"; import { AdminColor } from "@/app_modules/_global/color/color_pallet"; -import { Comp_DangerouslySetInnerHTML } from "@/app_modules/_global/component/new/comp_set_inner_html"; +import { Comp_SetInnerHTML } from "@/app_modules/_global/component/new/comp_set_inner_html"; import { MODEL_FORUM_KOMENTAR, MODEL_FORUM_POSTING, diff --git a/src/app_modules/admin/forum/sub_menu/table_posting.tsx b/src/app_modules/admin/forum/sub_menu/table_posting.tsx index 4d028d0f..f2b1228f 100644 --- a/src/app_modules/admin/forum/sub_menu/table_posting.tsx +++ b/src/app_modules/admin/forum/sub_menu/table_posting.tsx @@ -27,7 +27,7 @@ import { ComponentAdminGlobal_TitlePage } from "../../_admin_global/_component"; import { Admin_V3_ComponentPaginationBreakpoint } from "../../_components_v3/comp_pagination_breakpoint"; import ComponentAdminForum_ButtonDeletePosting from "../component/button_delete"; import { apiGetAdminForumPublish } from "../lib/api_fetch_admin_forum"; -import { Comp_DangerouslySetInnerHTML } from "@/app_modules/_global/component/new/comp_set_inner_html"; +import { Comp_SetInnerHTML } from "@/app_modules/_global/component/new/comp_set_inner_html"; import { Comp_V3_SetInnerHTMLWithStiker } from "@/app_modules/_global/component/new/comp_V3_set_html_with_stiker"; import { AdminForum_CompTableSetHtmlStiker } from "../component/comp_table_set_html_stiker"; diff --git a/src/app_modules/admin/vote/component/comp_detail.tsx b/src/app_modules/admin/vote/component/comp_detail.tsx index 3299ff8e..2042c4ff 100644 --- a/src/app_modules/admin/vote/component/comp_detail.tsx +++ b/src/app_modules/admin/vote/component/comp_detail.tsx @@ -1,7 +1,8 @@ "use client"; +import { Comp_V3_SetInnerHTMLWithStiker } from "@/app_modules/_global/component/new/comp_V3_set_html_with_stiker"; import { MODEL_VOTING } from "@/app_modules/vote/model/interface"; -import { Badge, ScrollArea, Stack, Text } from "@mantine/core"; +import { Badge, Stack, Text } from "@mantine/core"; import moment from "moment"; import { Admin_V3_ComponentDetail } from "../../_components_v3/comp_detail_data"; @@ -23,7 +24,7 @@ export function AdminVoting_ComponentDetail({ data }: Props) { }, { title: "Deskripsi", - value: data.deskripsi, + value: , }, { title: "Awal voting", diff --git a/src/app_modules/donasi/detail/detail_main/cerita_penggalang/index.tsx b/src/app_modules/donasi/detail/detail_main/cerita_penggalang/index.tsx index 1d56d232..a7c2b0d8 100644 --- a/src/app_modules/donasi/detail/detail_main/cerita_penggalang/index.tsx +++ b/src/app_modules/donasi/detail/detail_main/cerita_penggalang/index.tsx @@ -2,7 +2,7 @@ import { AccentColor } from "@/app_modules/_global/color/color_pallet"; import { ComponentGlobal_LoadImageLandscape } from "@/app_modules/_global/component"; -import { Comp_DangerouslySetInnerHTML } from "@/app_modules/_global/component/new/comp_set_inner_html"; +import { Comp_SetInnerHTML } from "@/app_modules/_global/component/new/comp_set_inner_html"; import { Comp_V3_SetInnerHTMLWithStiker } from "@/app_modules/_global/component/new/comp_V3_set_html_with_stiker"; import { MODEL_CERITA_DONASI } from "@/app_modules/donasi/model/interface"; import { Stack, Text } from "@mantine/core"; @@ -35,11 +35,11 @@ export default function CeritaPenggalangDonasi({ #HaloOrangBaik {/* {data.pembukaan} */} - + - + {/* {data.cerita} */} diff --git a/src/app_modules/event/component/box_list_status.tsx b/src/app_modules/event/component/box_list_status.tsx index 8a0f1eb0..88bca15e 100644 --- a/src/app_modules/event/component/box_list_status.tsx +++ b/src/app_modules/event/component/box_list_status.tsx @@ -9,7 +9,7 @@ import { Box, Group, Stack, Text, Title } from "@mantine/core"; import { useRouter } from "next/navigation"; import { useState } from "react"; import { MODEL_EVENT } from "../_lib/interface"; -import { Comp_DangerouslySetInnerHTML } from "@/app_modules/_global/component/new/comp_set_inner_html"; +import { Comp_SetInnerHTML } from "@/app_modules/_global/component/new/comp_set_inner_html"; export default function ComponentEvent_BoxListStatus({ data, @@ -49,7 +49,7 @@ export default function ComponentEvent_BoxListStatus({ - diff --git a/src/app_modules/event/component/card_view/card_beranda.tsx b/src/app_modules/event/component/card_view/card_beranda.tsx index 3ba23320..1f3159df 100644 --- a/src/app_modules/event/component/card_view/card_beranda.tsx +++ b/src/app_modules/event/component/card_view/card_beranda.tsx @@ -8,7 +8,7 @@ import { import { Box, Group, Stack, Text, Title } from "@mantine/core"; import { useRouter } from "next/navigation"; import { useState } from "react"; -import { Comp_DangerouslySetInnerHTML } from "@/app_modules/_global/component/new/comp_set_inner_html"; +import { Comp_SetInnerHTML } from "@/app_modules/_global/component/new/comp_set_inner_html"; export function ComponentEvent_CardBeranda({ data }: { data: any }) { const router = useRouter(); @@ -41,7 +41,7 @@ export function ComponentEvent_CardBeranda({ data }: { data: any }) { - diff --git a/src/app_modules/event/component/card_view/card_riwayat.tsx b/src/app_modules/event/component/card_view/card_riwayat.tsx index e2695597..30660348 100644 --- a/src/app_modules/event/component/card_view/card_riwayat.tsx +++ b/src/app_modules/event/component/card_view/card_riwayat.tsx @@ -9,7 +9,7 @@ import { import { useRouter } from "next/navigation"; import { useState } from "react"; import { MODEL_EVENT } from "../../_lib/interface"; -import { Comp_DangerouslySetInnerHTML } from "@/app_modules/_global/component/new/comp_set_inner_html"; +import { Comp_SetInnerHTML } from "@/app_modules/_global/component/new/comp_set_inner_html"; export function ComponentEvent_CardRiwayat({ data }: { data: MODEL_EVENT }) { const router = useRouter(); @@ -44,7 +44,7 @@ export function ComponentEvent_CardRiwayat({ data }: { data: MODEL_EVENT }) { - diff --git a/src/app_modules/event/component/detail/detail_data.tsx b/src/app_modules/event/component/detail/detail_data.tsx index 5c12b8b5..28eaa34e 100644 --- a/src/app_modules/event/component/detail/detail_data.tsx +++ b/src/app_modules/event/component/detail/detail_data.tsx @@ -5,7 +5,7 @@ import { ComponentGlobal_BoxInformation, ComponentGlobal_CardStyles, } from "@/app_modules/_global/component"; -import { Comp_DangerouslySetInnerHTML } from "@/app_modules/_global/component/new/comp_set_inner_html"; +import { Comp_SetInnerHTML } from "@/app_modules/_global/component/new/comp_set_inner_html"; import { Component_V3_GridDetailData } from "@/app_modules/_global/component/new/comp_V3_grid_detail_data"; import { Component_V3_MomentDateAndTime } from "@/app_modules/_global/component/new/comp_V3_moment_date_and_time"; import { SimpleGrid, Stack, Title } from "@mantine/core"; @@ -41,7 +41,7 @@ export default function ComponentEvent_DetailData({ }, { title: "Deskripsi", - value: , + value: , }, ]; diff --git a/src/app_modules/event/component/detail/detail_main.tsx b/src/app_modules/event/component/detail/detail_main.tsx index 074529d7..a21b3fce 100644 --- a/src/app_modules/event/component/detail/detail_main.tsx +++ b/src/app_modules/event/component/detail/detail_main.tsx @@ -5,7 +5,7 @@ import { ComponentGlobal_AvatarAndUsername, ComponentGlobal_CardStyles, } from "@/app_modules/_global/component"; -import { Comp_DangerouslySetInnerHTML } from "@/app_modules/_global/component/new/comp_set_inner_html"; +import { Comp_SetInnerHTML } from "@/app_modules/_global/component/new/comp_set_inner_html"; import { Component_V3_GridDetailData } from "@/app_modules/_global/component/new/comp_V3_grid_detail_data"; import { Component_V3_MomentDateAndTime } from "@/app_modules/_global/component/new/comp_V3_moment_date_and_time"; import { clientLogger } from "@/util/clientLogger"; @@ -61,7 +61,7 @@ export default function ComponentEvent_DetailMainData() { }, { title: "Deskripsi", - value: , + value: , }, ]; diff --git a/src/app_modules/vote/component/detail/detail_data_sebelum_publish.tsx b/src/app_modules/vote/component/detail/detail_data_sebelum_publish.tsx index fe6fed81..70244c4e 100644 --- a/src/app_modules/vote/component/detail/detail_data_sebelum_publish.tsx +++ b/src/app_modules/vote/component/detail/detail_data_sebelum_publish.tsx @@ -11,7 +11,7 @@ import { import { IconCircle } from "@tabler/icons-react"; import { MODEL_VOTING } from "../../model/interface"; import { AccentColor, MainColor } from "@/app_modules/_global/color/color_pallet"; -import { Comp_DangerouslySetInnerHTML } from "@/app_modules/_global/component/new/comp_set_inner_html"; +import { Comp_SetInnerHTML } from "@/app_modules/_global/component/new/comp_set_inner_html"; export default function ComponentVote_DetailDataSebelumPublish ({ @@ -37,7 +37,7 @@ export default function ComponentVote_DetailDataSebelumPublish {data?.title} - +
diff --git a/src/app_modules/vote/component/detail/detail_data_setelah_publish.tsx b/src/app_modules/vote/component/detail/detail_data_setelah_publish.tsx index 03a858be..a121ccc5 100644 --- a/src/app_modules/vote/component/detail/detail_data_setelah_publish.tsx +++ b/src/app_modules/vote/component/detail/detail_data_setelah_publish.tsx @@ -8,7 +8,7 @@ import { Badge, Center, Group, Stack, Text, Title } from "@mantine/core"; import { MODEL_VOTING } from "../../model/interface"; import moment from "moment" import "moment/locale/id" -import { Comp_DangerouslySetInnerHTML } from "@/app_modules/_global/component/new/comp_set_inner_html"; +import { Comp_SetInnerHTML } from "@/app_modules/_global/component/new/comp_set_inner_html"; export default function ComponentVote_DetailDataSetelahPublish({ data, @@ -34,7 +34,7 @@ export default function ComponentVote_DetailDataSetelahPublish({ {data?.title}
- + diff --git a/src/app_modules/vote/detail/main/index.tsx b/src/app_modules/vote/detail/main/index.tsx index 0d157ada..5f81ae5b 100644 --- a/src/app_modules/vote/detail/main/index.tsx +++ b/src/app_modules/vote/detail/main/index.tsx @@ -42,7 +42,7 @@ import { Voting_ComponentSkeletonDetail } from "../../component/skeleton_view"; import { Vote_funCreateHasil } from "../../fun/create/create_hasil"; import { MODEL_VOTING } from "../../model/interface"; import CustomSkeleton from "@/app_modules/components/CustomSkeleton"; -import { Comp_DangerouslySetInnerHTML } from "@/app_modules/_global/component/new/comp_set_inner_html"; +import { Comp_SetInnerHTML } from "@/app_modules/_global/component/new/comp_set_inner_html"; export default function Vote_MainDetail({ userLoginId, @@ -223,7 +223,7 @@ export default function Vote_MainDetail({ {data?.title} - +