fix admin event

deskripsi:
- tampilan text dirubah menjadi text editor
This commit is contained in:
2025-04-28 16:23:07 +08:00
parent 22dc70fb27
commit 56b409f7ca
3 changed files with 8 additions and 9 deletions

View File

@@ -4,7 +4,7 @@ export function Comp_DangerouslySetInnerHTML({
props,
color,
}: {
props: string;
props: string | undefined;
color?: string;
}) {
return (
@@ -15,7 +15,7 @@ export function Comp_DangerouslySetInnerHTML({
}}
// className="chat-content"
dangerouslySetInnerHTML={{
__html: props,
__html: props ?? "",
}}
/>
</>