diff --git a/packages/pl-fe/src/features/ui/components/modals/hotkeys-modal.tsx b/packages/pl-fe/src/features/ui/components/modals/hotkeys-modal.tsx index 3b47b8ff7..e334db37d 100644 --- a/packages/pl-fe/src/features/ui/components/modals/hotkeys-modal.tsx +++ b/packages/pl-fe/src/features/ui/components/modals/hotkeys-modal.tsx @@ -141,10 +141,6 @@ const HotkeysModal: React.FC = ({ onClose }) => { g + p - - - - g + u diff --git a/packages/pl-fe/src/features/ui/util/global-hotkeys.tsx b/packages/pl-fe/src/features/ui/util/global-hotkeys.tsx index 2ed02c7b9..70f87f28c 100644 --- a/packages/pl-fe/src/features/ui/util/global-hotkeys.tsx +++ b/packages/pl-fe/src/features/ui/util/global-hotkeys.tsx @@ -28,8 +28,7 @@ const keyMap = { goToHome: 'g h', goToNotifications: 'g n', goToFavourites: 'g f', - goToPinned: 'g p', - goToProfile: 'g u', + goToProfile: ['g p', 'g u'], goToBlocked: 'g b', goToMuted: 'g m', goToRequests: 'g r', @@ -115,11 +114,6 @@ const GlobalHotkeys: React.FC = ({ children, node }) => { history.push(`/@${account.username}/favorites`); }; - const handleHotkeyGoToPinned = () => { - if (!account) return; - history.push(`/@${account.username}/pins`); - }; - const handleHotkeyGoToProfile = () => { if (!account) return; history.push(`/@${account.username}`); @@ -148,7 +142,6 @@ const GlobalHotkeys: React.FC = ({ children, node }) => { goToHome: handleHotkeyGoToHome, goToNotifications: handleHotkeyGoToNotifications, goToFavourites: handleHotkeyGoToFavourites, - goToPinned: handleHotkeyGoToPinned, goToProfile: handleHotkeyGoToProfile, goToBlocked: handleHotkeyGoToBlocked, goToMuted: handleHotkeyGoToMuted,