Skip to content

Commit 5685c59

Browse files
Apply suggestion from @MartinCupela
Co-authored-by: MartinCupela <32706194+MartinCupela@users.noreply.github.com>
1 parent 4688774 commit 5685c59

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/components/MessageComposer/AttachmentPreviewList/AttachmentUploadProgressIndicator.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,7 @@ export const AttachmentUploadProgressIndicator = ({
2121
uploadProgress,
2222
variant,
2323
}: AttachmentUploadProgressIndicatorProps) => {
24-
const { ProgressIndicator = DefaultProgressIndicator } = useComponentContext(
25-
'AttachmentUploadProgressIndicator',
26-
);
24+
const { ProgressIndicator = DefaultProgressIndicator } = useComponentContext();
2725

2826
if (uploadProgress === undefined) {
2927
return <>{fallback ?? <LoadingIndicatorIcon />}</>;

0 commit comments

Comments
 (0)