Skip to content

Commit b2c347a

Browse files
committed
chore: small fixes
1 parent aecaa9c commit b2c347a

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/components/MessageComposer/AttachmentPreviewList/AttachmentUploadProgressIndicator.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export const AttachmentUploadProgressIndicator = ({
2020
const { ProgressIndicator = DefaultProgressIndicator } = useComponentContext();
2121

2222
if (uploadProgress === undefined) {
23-
return <>{fallback ?? <LoadingIndicatorIcon />}</>;
23+
return <>{fallback ?? <LoadingIndicatorIcon data-testid='loading-indicator' />}</>;
2424
}
2525

2626
return (

src/components/MessageComposer/styling/AttachmentPreview.scss

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,8 +215,7 @@
215215
}
216216

217217
.str-chat__loading-indicator,
218-
.str-chat__attachment-upload-progress,
219-
.str-chat__icon--exclamation-circle {
218+
.str-chat__attachment-upload-progress {
220219
width: var(--icon-size-sm);
221220
height: var(--icon-size-sm);
222221
position: absolute;

0 commit comments

Comments
 (0)