Skip to content

A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.

fix: add renderhtml format

shuaia65417b0ba0b
diff --git a/ui/src/pages/Review/components/FlagContent/index.tsx b/ui/src/pages/Review/components/FlagContent/index.tsx
index 87309c73..0224e2de 100644
--- a/ui/src/pages/Review/components/FlagContent/index.tsx
+++ b/ui/src/pages/Review/components/FlagContent/index.tsx
@@ -100,7 +100,7 @@ const Index: FC<IProps> = ({ refreshCount }) => {
setTimeout(() => {
htmlRender(ref.current);
- }, 60);
+ }, 70);
}, [ref.current]);
const {
diff --git a/ui/src/pages/Review/components/QueuedContent/index.tsx b/ui/src/pages/Review/components/QueuedContent/index.tsx
index c5252130..74f956ba 100644
--- a/ui/src/pages/Review/components/QueuedContent/index.tsx
+++ b/ui/src/pages/Review/components/QueuedContent/index.tsx
@@ -69,7 +69,9 @@ const Index: FC<IProps> = ({ refreshCount }) => {
return;
}
- htmlRender(ref.current);
+ setTimeout(() => {
+ htmlRender(ref.current);
+ }, 70);
}, [ref.current]);
useEffect(() => {