We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4688774 commit 5685c59Copy full SHA for 5685c59
1 file changed
src/components/MessageComposer/AttachmentPreviewList/AttachmentUploadProgressIndicator.tsx
@@ -21,9 +21,7 @@ export const AttachmentUploadProgressIndicator = ({
21
uploadProgress,
22
variant,
23
}: AttachmentUploadProgressIndicatorProps) => {
24
- const { ProgressIndicator = DefaultProgressIndicator } = useComponentContext(
25
- 'AttachmentUploadProgressIndicator',
26
- );
+ const { ProgressIndicator = DefaultProgressIndicator } = useComponentContext();
27
28
if (uploadProgress === undefined) {
29
return <>{fallback ?? <LoadingIndicatorIcon />}</>;
0 commit comments