diff --git a/src/components/sortable/SortableAudioGrid/index.tsx b/src/components/sortable/SortableAudioGrid/index.tsx index a6d7e77f..8dcfafd0 100644 --- a/src/components/sortable/SortableAudioGrid/index.tsx +++ b/src/components/sortable/SortableAudioGrid/index.tsx @@ -34,7 +34,7 @@ const renderItem = ({ const renderLocked = ({ locked }: { locked: UploadStatus }) => ( void; }) => ( - + ); const SortableImageGrid: FC = ({ diff --git a/src/components/upload/AudioUpload/index.tsx b/src/components/upload/AudioUpload/index.tsx index 155a9932..2e55e1c6 100644 --- a/src/components/upload/AudioUpload/index.tsx +++ b/src/components/upload/AudioUpload/index.tsx @@ -13,10 +13,10 @@ interface IProps { progress?: number; onDrop?: (file_id: string) => void; - is_uploading?: boolean; + uploading?: boolean; } -const AudioUpload: FC = ({ title, progress, is_uploading, id, onDrop }) => { +const AudioUpload: FC = ({ title, progress, uploading, id, onDrop }) => { const onDropFile = useCallback(() => { if (!id || !onDrop) return; onDrop(id); @@ -30,8 +30,8 @@ const AudioUpload: FC = ({ title, progress, is_uploading, id, onDrop }) )} -
- {is_uploading && ( +
+ {uploading && (
diff --git a/src/components/upload/ImageUpload/index.tsx b/src/components/upload/ImageUpload/index.tsx index 1095f60b..6e49a9e4 100644 --- a/src/components/upload/ImageUpload/index.tsx +++ b/src/components/upload/ImageUpload/index.tsx @@ -14,10 +14,10 @@ interface IProps { progress?: number; onDrop?: (file_id: IFile['id']) => void; - is_uploading?: boolean; + uploading?: boolean; } -const ImageUpload: FC = ({ thumb, progress, is_uploading, id, onDrop }) => { +const ImageUpload: FC = ({ thumb, progress, uploading, id, onDrop }) => { const onDropFile = useCallback(() => { if (!id || !onDrop) return; onDrop(id); @@ -31,9 +31,9 @@ const ImageUpload: FC = ({ thumb, progress, is_uploading, id, onDrop })
)} -
+
{thumb &&
} - {is_uploading && ( + {uploading && (