import { ReactNode } from 'react';

interface ModuleGuardProps {
  module: string;
  children: ReactNode;
  redirectTo?: string;
}

/**
 * ModuleGuard - DEPRECATED
 * Module enable/disable is now controlled ONLY via Django Admin (GlobalModuleSettings)
 * This component no longer checks module status - all modules are accessible
 */
export default function ModuleGuard({ children }: ModuleGuardProps) {
  // Module filtering removed - all modules always accessible
  return <>{children}</>;
}

