mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-14 21:27:20 +00:00
fix: blob fetch and state syncing between tabs (#1287)
This commit is contained in:
@@ -19,7 +19,11 @@ declare global {
|
||||
|
||||
const BroadcastPage: React.FC = () => {
|
||||
const blockSuiteWorkspace = useMemo(
|
||||
() => createEmptyBlockSuiteWorkspace('broadcast-test'),
|
||||
() =>
|
||||
createEmptyBlockSuiteWorkspace(
|
||||
'broadcast-test',
|
||||
(_: string) => undefined
|
||||
),
|
||||
[]
|
||||
);
|
||||
const [provider, setProvider] = useState<BroadCastChannelProvider | null>(
|
||||
|
||||
Reference in New Issue
Block a user