mirror of
https://github.com/andwati/dokploy.git
synced 2026-11-19 02:15:17 +00:00
format
This commit is contained in:
@@ -60,14 +60,14 @@ const SHORTCUTS: ShortcutsDictionary = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use this to register keyboard shortcuts for different pages. Each shortcut
|
* Use this to register keyboard shortcuts for different pages. Each shortcut
|
||||||
* must be prefixed with `g` (like GitHub).
|
* must be prefixed with `g` (like GitHub).
|
||||||
*
|
*
|
||||||
* @example
|
* @example
|
||||||
* - `g g` "General",
|
* - `g g` "General",
|
||||||
* - `g e` "Environment",
|
* - `g e` "Environment",
|
||||||
* - `g u` "Domains",
|
* - `g u` "Domains",
|
||||||
*/
|
*/
|
||||||
export function UseKeyboardNav({ forPage }: { forPage: Page }) {
|
export function UseKeyboardNav({ forPage }: { forPage: Page }) {
|
||||||
const [isModPressed, setModPressed] = useState(false);
|
const [isModPressed, setModPressed] = useState(false);
|
||||||
const [timer, setTimer] = useState<NodeJS.Timeout | null>(null);
|
const [timer, setTimer] = useState<NodeJS.Timeout | null>(null);
|
||||||
|
|||||||
Reference in New Issue
Block a user