Fix hotkeys getting stuck on cmd+tab

This commit is contained in:
Gregory Schier
2024-01-07 21:32:25 -08:00
parent c472b83409
commit 35e40d2c55
3 changed files with 15 additions and 4 deletions

View File

@@ -8,9 +8,9 @@ interface Props {
}
export function HotKey({ action }: Props) {
const osinfo = useOsInfo();
const osInfo = useOsInfo();
const label = useFormattedHotkey(action);
if (label === null || osinfo == null) {
if (label === null || osInfo == null) {
return null;
}