@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 14 lines 409 Bytes
Raw
1 import { AtomRegistry } from "effect/reactivity";
2
3 import {
4 disposeOnFoundationReplace,
5 type FoundationHotModule,
6 } from "../lib/foundation-fast-refresh";
7
8 declare const module: { readonly hot?: FoundationHotModule } | undefined;
9
10 export const appAtomRegistry = AtomRegistry.make();
11
12 disposeOnFoundationReplace(typeof module === "undefined" ? undefined : module.hot, () =>
13 appAtomRegistry.dispose(),
14 );