Skip to content

The open alternative to Salesforce, designed for AI.

308 B
Raw Blame
import { useGoToHotkeys } from '@/ui/utilities/hotkey/hooks/useGoToHotkeys';

export const GoToHotkeyItemEffect = (props: {
  hotkey: string;
  pathToNavigateTo: string;
}) => {
  const { hotkey, pathToNavigateTo } = props;

  useGoToHotkeys({ key: hotkey, location: pathToNavigateTo });

  return <></>;
};