Merge pull request #628 from STRML/fix/remove-cmd-number-shortcut

fix: remove Cmd+1..9 company-switch shortcut
This commit is contained in:
Dotta authored and GitHub committed 2026-03-11 21:12:10 -05:00
commit c4e64be4bc
3 files changed
+3 -22

No files matched your search

-11
View File
@@ -104,23 +104,12 @@ export function Layout() {
const togglePanel = togglePanelVisible;
// Cmd+1..9 to switch companies
const switchCompany = useCallback(
(index: number) => {
if (index < companies.length) {
setSelectedCompanyId(companies[index]!.id);
}
},
[companies, setSelectedCompanyId],
);
useCompanyPageMemory();
useKeyboardShortcuts({
onNewIssue: () => openNewIssue(),
onToggleSidebar: toggleSidebar,
onTogglePanel: togglePanel,
onSwitchCompany: switchCompany,
});
useEffect(() => {