this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

For numbers, use e.key

+4 -4
+2 -2
src/components/columns.jsx
··· 57 57 58 58 useHotkeys( 59 59 ['1', '2', '3', '4', '5', '6', '7', '8', '9'], 60 - (e, handler) => { 60 + (e) => { 61 61 try { 62 - const index = parseInt(handler.keys[0], 10) - 1; 62 + const index = parseInt(e.key, 10) - 1; 63 63 const $column = document.querySelectorAll('#columns > *')[index]; 64 64 if ($column) { 65 65 $column.focus();
+2 -2
src/components/shortcuts.jsx
··· 86 86 const navigate = useNavigate(); 87 87 useHotkeys( 88 88 ['1', '2', '3', '4', '5', '6', '7', '8', '9'], 89 - (e, handler) => { 90 - const index = parseInt(handler.keys[0], 10) - 1; 89 + (e) => { 90 + const index = parseInt(e.key, 10) - 1; 91 91 if (index < formattedShortcuts.length) { 92 92 const { path } = formattedShortcuts[index]; 93 93 if (path) {