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
| 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 | ); |