UBERF-8969: Fix deps for cloud transactor (#7503)

Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
Andrey Sobolev
2024-12-19 16:49:45 +07:00
committed by GitHub
parent cdcec3efca
commit 5bd3424c9b
34 changed files with 234 additions and 94 deletions
@@ -2,7 +2,7 @@
import { getContext, onDestroy } from 'svelte'
import { getClient } from '@hcengineering/presentation'
import { makeDocCollabId, type Doc } from '@hcengineering/core'
import { CollaborationIds, type Ydoc } from '@hcengineering/text-editor'
import { CollaborationIds } from '@hcengineering/text-editor'
import {
CollaborationDiffViewer,
Provider,
@@ -29,9 +29,9 @@
const client = getClient()
const hierarchy = client.getHierarchy()
const ydoc = getContext<Ydoc>(CollaborationIds.Doc)
const ydoc: any = getContext(CollaborationIds.Doc)
let comparedYdoc: Ydoc | undefined = undefined
let comparedYdoc: any | undefined = undefined
let comparedProvider: Provider | undefined = undefined
let loading = true