Skip to content

Commit a73781d

Browse files
committed
fix: build issues
1 parent 61811e2 commit a73781d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

package/src/components/MessageInput/components/AttachmentPreview/FileAttachmentUploadPreview.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ import { LocalAudioAttachment, LocalFileAttachment, LocalVideoAttachment } from
77
import { AttachmentRemoveControl } from './AttachmentRemoveControl';
88

99
import {
10-
InlineNotSupportedIndicator,
11-
InlineRetryIndicator,
12-
InProgressIndicator,
10+
FileUploadNotSupportedIndicator,
11+
FileUploadRetryIndicator,
12+
FileUploadInProgressIndicator,
1313
} from './AttachmentUploadProgressIndicator';
1414

1515
import { FilePreview } from '../../../../components/Attachment/FilePreview';
@@ -56,13 +56,13 @@ export const FileAttachmentUploadPreview = ({
5656

5757
const renderIndicator = useMemo(() => {
5858
if (indicatorType === ProgressIndicatorTypes.IN_PROGRESS) {
59-
return <InProgressIndicator />;
59+
return <FileUploadInProgressIndicator />;
6060
}
6161
if (indicatorType === ProgressIndicatorTypes.RETRY) {
62-
return <InlineRetryIndicator onPress={onRetryHandler} />;
62+
return <FileUploadRetryIndicator onPress={onRetryHandler} />;
6363
}
6464
if (indicatorType === ProgressIndicatorTypes.NOT_SUPPORTED) {
65-
return <InlineNotSupportedIndicator localMetadata={attachment.localMetadata} />;
65+
return <FileUploadNotSupportedIndicator localMetadata={attachment.localMetadata} />;
6666
}
6767
return null;
6868
}, [attachment.localMetadata, indicatorType, onRetryHandler]);

0 commit comments

Comments
 (0)