Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

375 B
Raw Blame
import { memo } from 'react';

import { useRegisterFilesHotkeys, useSaveDocumentHotkey } from '@/hooks/useHotkeys';

import { useProfileStore } from './store';

const ProfileHydration = memo(() => {
  const flushSave = useProfileStore((s) => s.flushSave);
  useRegisterFilesHotkeys();
  useSaveDocumentHotkey(flushSave);

  return null;
});

export default ProfileHydration;