diff --git a/ts/components/conversation/MessageDetail.tsx b/ts/components/conversation/MessageDetail.tsx index 8fd84177a9..704dbb4dd7 100644 --- a/ts/components/conversation/MessageDetail.tsx +++ b/ts/components/conversation/MessageDetail.tsx @@ -149,7 +149,7 @@ export function MessageDetail({ toggleSafetyNumberModal, viewStory, }: Props): JSX.Element { - const messageContainerRef = useRef(null); + const messageDetailRef = useRef(null); function renderAvatar(contact: Contact): JSX.Element { const { @@ -315,19 +315,16 @@ export function MessageDetail({ : undefined; return ( -
+
-
+
(null);", + "line": " const messageDetailRef = useRef(null);", "reasonCategory": "usageTrusted", - "updated": "2023-04-12T15:51:28.066Z" + "updated": "2023-09-11T22:53:43.464Z", + "reasonDetail": "Used to pass ref of MessageDetail to Message. Used for ReactionViewer overflow detection." }, { "rule": "React-useRef",