'use client';

import { useIdleLogout } from '@/hooks/useIdleLogout';

/**
 * Component that handles idle logout functionality
 * Must be rendered inside SessionProvider to use useSession hook
 */
export function IdleLogoutHandler() {
  // Log out users after 2 hours of inactivity
  useIdleLogout(2 * 60 * 60 * 1000); // 2 hours in milliseconds

  // This component doesn't render anything
  return null;
}








