Created At: 2026-11-18T18:32:55Z Completed At: 2026-11-18T18:32:55Z Command exited with code 0. Command output: 43-export const OverviewPage: React.FC = ({ onNavigate, onSelectBot }) => { 44- const navigate = useNavigate(); 45- const { currentBot, bots, selectBot, toggleBotModule } = useBot(); 46- const [toggleToast, setToggleToast] = useState(null); 47- 48: const activeModulesCount = currentBot?.modules?.filter((m) => m.is_enabled).length || 0; 49: const totalModulesCount = currentBot?.modules?.length || 9; 50- 51: const handleModuleToggle = (moduleId: string, currentEnabled: boolean) => { 52- if (!currentBot) return; 53: toggleBotModule(currentBot.id, moduleId, !currentEnabled); 54- setToggleToast(`Module updated for @${currentBot.username}!`); 55- setTimeout(() => setToggleToast(null), 2500); 56- }; 57- 58- const getModuleIcon = (id: string) => { -- 325- 326- 327- 328- 329-
330: {(currentBot?.modules || []).map((mod) => { 331- const Icon = getModuleIcon(mod.id); 332- return ( 333-