when i try to assign applyUpdates in yjs i gets an error that Uncaught Error: Unexpected end of array
Y.applyUpdate(docRef.current, new Uint8Array(item.file));
I think there is an issue with the encoding type any help is appreciated.
when i try to assign applyUpdates in yjs i gets an error that Uncaught Error: Unexpected end of array
Y.applyUpdate(docRef.current, new Uint8Array(item.file));
I think there is an issue with the encoding type any help is appreciated.
Need to know more about the contents of item.file
in order to be any help.