text preview show download while validating
This commit is contained in:
parent
9e50a024ee
commit
439bef742c
1 changed files with 8 additions and 3 deletions
|
@ -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>
|
||||||
|
</>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue