Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

341 B
Raw Blame
import { createSignal, onCleanup } from 'solid-js';

/** Calendar time advances even when the viewer leaves this panel open. */
export function createCallSidebarClock() {
  const [now, setNow] = createSignal(new Date());
  const timer = setInterval(() => setNow(new Date()), 30_000);
  onCleanup(() => clearInterval(timer));
  return now;
}