fix admin voting

deskripsi:
- fix tampilan html di detail
This commit is contained in:
2025-05-05 15:38:08 +08:00
parent d113dfc45a
commit 7defceae59
16 changed files with 30 additions and 31 deletions

View File

@@ -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 }) {
</Group>
<Text c={MainColor.white} fz={"sm"} lineClamp={4}>
<Comp_DangerouslySetInnerHTML
<Comp_SetInnerHTML
props={data.deskripsi}
style={{ height: 50 }}
/>