Update FooterControls.tsx
This commit is contained in:
@@ -174,7 +174,9 @@ function OverlayConversation({
|
|||||||
const { selectConversation, handleEscape } = useConversations();
|
const { selectConversation, handleEscape } = useConversations();
|
||||||
|
|
||||||
const handleSelectConversation = useCallback(() => {
|
const handleSelectConversation = useCallback(() => {
|
||||||
selectConversation(masterConversation._id.toString(), false);
|
if (!isSelected) {
|
||||||
|
selectConversation(masterConversation._id.toString(), false);
|
||||||
|
}
|
||||||
}, [masterConversation, selectConversation]);
|
}, [masterConversation, selectConversation]);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|||||||
Reference in New Issue
Block a user