瀏覽代碼

fix: #1307 empty messages

Yidadaa 1 年之前
父節點
當前提交
1f2ef1cdb7
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/components/markdown.tsx

+ 1 - 1
app/components/markdown.tsx

@@ -153,7 +153,7 @@ export function Markdown(
     }
   };
 
-  checkInView();
+  setTimeout(() => checkInView(), 1);
 
   return (
     <div