Include content delivery runtime

This commit is contained in:
phenom committed 2026-08-15 21:11:43 -04:00
1 parent 4d0980a389
commit b5c9bce1aa
9 files changed
+809 -1

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
import { useSyncExternalStore } from "react";
import {
getContentManagerSnapshot,
subscribeContentManager,
} from "./contentManager";
export function useContentManagerSnapshot() {
return useSyncExternalStore(
subscribeContentManager,
getContentManagerSnapshot,
getContentManagerSnapshot,
);
}