import { useAppState } from "../../store/appState"; export default function StatusBar() { const { projects, sessions } = useAppState(); const running = projects.filter((p) => p.status === "running").length; return (
{projects.length} project{projects.length !== 1 ? "s" : ""} | {running} running | {sessions.length} terminal{sessions.length !== 1 ? "s" : ""}
); }