From 8ff5079266dac93559d8a753cee69b9c6089fc2f Mon Sep 17 00:00:00 2001 From: Jing Hua Date: Sat, 25 Mar 2023 22:48:24 +0800 Subject: [PATCH] remove download pdf temporary fix for vite-plugin-top-level-await --- .../Chat/ChatContent/DownloadChat.tsx | 6 +- src/utils/chat.ts | 64 +++++++++---------- 2 files changed, 35 insertions(+), 35 deletions(-) diff --git a/src/components/Chat/ChatContent/DownloadChat.tsx b/src/components/Chat/ChatContent/DownloadChat.tsx index 1591e41..64fb4c5 100644 --- a/src/components/Chat/ChatContent/DownloadChat.tsx +++ b/src/components/Chat/ChatContent/DownloadChat.tsx @@ -6,7 +6,7 @@ import { chatToMarkdown, downloadImg, downloadMarkdown, - downloadPDF, + // downloadPDF, htmlToImg, } from '@utils/chat'; import ImageIcon from '@icon/ImageIcon'; @@ -55,7 +55,7 @@ const DownloadChat = React.memo( Image - + */}