- {JSON.stringify(err, null, 2)}
-
- );
-
- return FailedRenderAttachmentForScreenReader;
- }
- };
-}
diff --git a/packages/component/src/hooks/useCreateAttachmentForScreenReaderRenderer.js b/packages/component/src/hooks/useCreateAttachmentForScreenReaderRenderer.js
deleted file mode 100644
index f945ec439c..0000000000
--- a/packages/component/src/hooks/useCreateAttachmentForScreenReaderRenderer.js
+++ /dev/null
@@ -1,5 +0,0 @@
-import useWebChatUIContext from './internal/useWebChatUIContext';
-
-export default function useCreateAttachmentForScreenReaderRenderer() {
- return useWebChatUIContext().createAttachmentForScreenReaderRenderer;
-}