From 10b99d2af4800a90bd944720d927525bbaa22a5b Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Tue, 24 Jan 2023 16:27:09 +0800 Subject: [PATCH] Fix k, shift+k not working --- src/pages/home.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/home.jsx b/src/pages/home.jsx index f1bfafbf..32b2bee9 100644 --- a/src/pages/home.jsx +++ b/src/pages/home.jsx @@ -180,7 +180,7 @@ function Home({ hidden }) { } }); - useHotkeys('k. shift+k', () => { + useHotkeys('k, shift+k', (_, handler) => { // focus on previous status after active status // Traverses .timeline li .status-link, focus on .status-link const activeStatus = document.activeElement.closest(