From 439bef742c7433f73619671eb7fc400dfc90f6b8 Mon Sep 17 00:00:00 2001 From: Spencer Woo Date: Thu, 24 Feb 2022 14:22:48 +0800 Subject: [PATCH] text preview show download while validating --- components/previews/TextPreview.tsx | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/components/previews/TextPreview.tsx b/components/previews/TextPreview.tsx index fbaef5d..c3e4b46 100644 --- a/components/previews/TextPreview.tsx +++ b/components/previews/TextPreview.tsx @@ -22,9 +22,14 @@ const TextPreview = ({ file }) => { if (validating) { return ( - - - + <> + + + + + + + ) }