Fix hotkeys getting stuck on cmd+tab

This commit is contained in:
Gregory Schier committed 2024-01-07 21:32:25 -08:00
1 parent c472b83409
commit 35e40d2c55
3 files changed
+15 -4

No files matched your search

+2 -2
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;
}