chore: remove ISSUES.md from PR, merge BoardHotkeys into hook file

This commit is contained in:
Thomas Camlong committed 2026-08-03 17:11:04 +02:00
1 parent ef9ead60ba
commit 6e9136c5a0
3 files changed
+11 -10

No files matched your search

@@ -8,7 +8,16 @@ import { useRequiredBoard } from "@homarr/boards/context";
import { hotkeys } from "@homarr/definitions";
import { useHotkeys } from "@mantine/hooks";
export const useBoardHotkeys = () => {
/**
* Client component that activates board keyboard shortcuts.
* Render it once inside the board provider tree.
*/
export const BoardHotkeys = () => {
useBoardHotkeys();
return null;
};
const useBoardHotkeys = () => {
const router = useRouter();
const currentBoard = useRequiredBoard();
const { data: boards = [] } = clientApi.board.getAllBoards.useQuery();