From 0aede77a52b91330578c983e80c904d8d1f4487e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?marcin=20miko=C5=82ajczak?= Date: Thu, 19 May 2022 12:57:21 +0200 Subject: [PATCH] Do not show follow requests hotkey if not feature not available MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: marcin mikołajczak --- app/soapbox/features/ui/components/hotkeys_modal.tsx | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/app/soapbox/features/ui/components/hotkeys_modal.tsx b/app/soapbox/features/ui/components/hotkeys_modal.tsx index 9aa9ebc3d..955d2cb80 100644 --- a/app/soapbox/features/ui/components/hotkeys_modal.tsx +++ b/app/soapbox/features/ui/components/hotkeys_modal.tsx @@ -158,10 +158,12 @@ const HotkeysModal: React.FC = ({ onClose }) => { g + m - - g + r - - + {features.followRequests && ( + + g + r + + + )} ?