MCPcopy Create free account
hub / github.com/ScriptedAlchemy/tracedecay / useRegistryVersion

Function useRegistryVersion

dashboard/dev/main.tsx:65–74  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

63};
64
65function useRegistryVersion() {
66 return useSyncExternalStore(
67 (fn) => {
68 listeners.add(fn);
69 return () => listeners.delete(fn);
70 },
71 () => registryVersion,
72 () => registryVersion,
73 );
74}
75
76// Apply the dark theme early so the first paint matches the shell.
77try {

Callers 1

AppFunction · 0.70

Calls 1

addMethod · 0.45

Tested by

no test coverage detected