fix: temp fix broadcast storm
This commit is contained in:
1 parent
03c29aeee6
commit
dd0d31e72d
1 file changed
-1
@@ -412,7 +412,6 @@ export class YjsAdapter implements AsyncDatabaseAdapter<YjsContentOperation> {
|
|||||||
binary?: ArrayBufferLike;
|
binary?: ArrayBufferLike;
|
||||||
}
|
}
|
||||||
): Promise<YjsBlockInstance> {
|
): Promise<YjsBlockInstance> {
|
||||||
console.trace('createBlock', options);
|
|
||||||
const uuid = options.uuid || `affine${nanoid(16)}`;
|
const uuid = options.uuid || `affine${nanoid(16)}`;
|
||||||
if (options.type === BlockTypes.binary) {
|
if (options.type === BlockTypes.binary) {
|
||||||
if (options.binary && options.binary instanceof ArrayBuffer) {
|
if (options.binary && options.binary instanceof ArrayBuffer) {
|
||||||
|
|||||||
Reference in new issue
Block a user