Merge branch 'main' into message-zaps

This commit is contained in:
2023-07-04 14:25:27 +00:00
19 changed files with 669 additions and 218 deletions

View File

@ -0,0 +1,6 @@
import { StreamProviderStore } from "providers";
import { useSyncExternalStore } from "react";
export function useStreamProvider() {
return useSyncExternalStore(c => StreamProviderStore.hook(c), () => StreamProviderStore.snapshot());
}