mirror of
https://github.com/Nezumi-2711/onedrive-vercel-index.git
synced 2026-09-22 13:38:45 +00:00
text preview show download while validating
This commit is contained in:
@@ -22,9 +22,14 @@ const TextPreview = ({ file }) => {
|
|||||||
|
|
||||||
if (validating) {
|
if (validating) {
|
||||||
return (
|
return (
|
||||||
<PreviewContainer>
|
<>
|
||||||
<Loading loadingText={t('Loading file content...')} />
|
<PreviewContainer>
|
||||||
</PreviewContainer>
|
<Loading loadingText={t('Loading file content...')} />
|
||||||
|
</PreviewContainer>
|
||||||
|
<DownloadBtnContainer>
|
||||||
|
<DownloadButtonGroup />
|
||||||
|
</DownloadBtnContainer>
|
||||||
|
</>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user