@devries-cameron20 / t3code Mirror · read-only
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 21, 04:45 UTC

main
ts 6 lines 251 Bytes
Raw
1 import { minuteTick } from "@t3tools/client-runtime/clock";
2 import { useSyncExternalStore } from "react";
3
4 export function useNowMinute(): string {
5 return useSyncExternalStore(minuteTick.subscribe, minuteTick.getSnapshot, minuteTick.getSnapshot);
6 }