fix admin voting
deskripsi: - fix tampilan html di detail
This commit is contained in:
@@ -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 }}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user