feat: add global keyboard shortcuts for undo/redo and command palette
This commit is contained in:
@@ -5,6 +5,7 @@ import { BoardList } from "@/components/boards/BoardList";
|
||||
import { BoardView } from "@/components/board/BoardView";
|
||||
import { CommandPalette } from "@/components/command-palette/CommandPalette";
|
||||
import { SettingsDialog } from "@/components/settings/SettingsDialog";
|
||||
import { useKeyboardShortcuts } from "@/hooks/useKeyboardShortcuts";
|
||||
|
||||
export default function App() {
|
||||
const initialized = useAppStore((s) => s.initialized);
|
||||
@@ -32,6 +33,8 @@ export default function App() {
|
||||
setSettingsOpen(true);
|
||||
}, []);
|
||||
|
||||
useKeyboardShortcuts();
|
||||
|
||||
if (!initialized) {
|
||||
return (
|
||||
<div className="flex h-screen items-center justify-center bg-pylon-bg">
|
||||
|
||||
Reference in New Issue
Block a user