diff --git a/packages/react/src/components/Attachments/PinnedAttachment.js b/packages/react/src/components/Attachments/PinnedAttachment.js
index ae694b2a6..0255cb9ea 100644
--- a/packages/react/src/components/Attachments/PinnedAttachment.js
+++ b/packages/react/src/components/Attachments/PinnedAttachment.js
@@ -1,18 +1,46 @@
-import React from 'react';
+import React, { useContext } from 'react';
import PropTypes from 'prop-types';
import { Box } from '../Box';
+import { Avatar } from '../Avatar';
+import RCContext from '../../context/RCInstance';
-const PinnedAttachment = ({ attachment }) => (
-
- {attachment?.author_name}
- {attachment?.text}
-
-);
+const PinnedAttachment = ({ attachment }) => {
+ const { RCInstance } = useContext(RCContext);
+ const getUserAvatarUrl = (authorIcon) => {
+ const host = RCInstance.getHost();
+ const URL = `${host}${authorIcon}`;
+ return URL;
+ };
+ return (
+
+
+
+ {attachment?.author_name}
+
+
+ {attachment?.text}
+
+
+ );
+};
export default PinnedAttachment;