tiptap: fix loading indicator

This commit is contained in:
fantasticit 2022-06-17 22:55:12 +08:00
parent 53bfef34b4
commit f80a7b9d1b
1 changed files with 1 additions and 1 deletions

View File

@ -144,7 +144,7 @@ export const Import: React.FC<IProps> = ({ wikiId }) => {
<Button
onClick={importFile}
disabled={loading || !parsedFiles.length}
disabled={!parsedFiles.length}
loading={loading}
theme="solid"
style={{ marginTop: 16 }}