chore: remove investigation logging from performance work
Remove debug logging and render counters added during performance investigation. All performance issues have been resolved by: - Moving drafts to top-level store - Moving agentLastActivity to top-level store - Using granular Zustand selectors throughout - Eliminating useDaemonSession hook 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { View, Text, Pressable } from "react-native";
|
||||
import { StyleSheet, useUnistyles } from "react-native-unistyles";
|
||||
import { ChevronDown } from "lucide-react-native";
|
||||
import { useState, useRef } from "react";
|
||||
import { useState } from "react";
|
||||
import { ModeSelectorModal } from "./mode-selector-modal";
|
||||
import { useSessionStore } from "@/stores/session-store";
|
||||
|
||||
@@ -11,10 +11,6 @@ interface AgentStatusBarProps {
|
||||
}
|
||||
|
||||
export function AgentStatusBar({ agentId, serverId }: AgentStatusBarProps) {
|
||||
// INVESTIGATION: Log rerenders
|
||||
const renderCountRef = useRef(0);
|
||||
renderCountRef.current++;
|
||||
console.log(`[INVESTIGATION] AgentStatusBar render #${renderCountRef.current}`, { agentId, serverId });
|
||||
const { theme } = useUnistyles();
|
||||
|
||||
// Select only the specific agent (not all agents)
|
||||
|
||||
Reference in New Issue
Block a user