From b2deeb39be1812587bf4eab7873105e5e7c7f800 Mon Sep 17 00:00:00 2001 From: Brice-W Date: Tue, 6 Jul 2021 15:05:04 +1000 Subject: [PATCH] clean --- ts/components/session/menu/Menu.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/ts/components/session/menu/Menu.tsx b/ts/components/session/menu/Menu.tsx index 1972b6b41..2216d478e 100644 --- a/ts/components/session/menu/Menu.tsx +++ b/ts/components/session/menu/Menu.tsx @@ -136,7 +136,6 @@ export const MenuItemPinConversation = ( const { conversationId } = props; const conversation = getConversationController().get(conversationId); const isPinned = conversation.getIsPinned(); - const dispatch = useDispatch(); const nbOfAlreadyPinnedConvos = useSelector(getNumberOfPinnedConversations); const togglePinConversation = async () => {