fix
This commit is contained in:
parent
fe7d367289
commit
85dd3df86e
|
|
@ -102,7 +102,7 @@ export class TldrawDurableObject {
|
||||||
? ((await roomFromBucket.json()) as RoomSnapshot)
|
? ((await roomFromBucket.json()) as RoomSnapshot)
|
||||||
: undefined
|
: undefined
|
||||||
if (initialSnapshot) {
|
if (initialSnapshot) {
|
||||||
initialSnapshot?.documents.slice(0, 10).forEach(record => {
|
initialSnapshot?.documents.slice(0, 1000).forEach(record => {
|
||||||
const shape = record.state as TLShape
|
const shape = record.state as TLShape
|
||||||
if (shape.type === "chatBox") {
|
if (shape.type === "chatBox") {
|
||||||
console.log("FOUND CHATBOX")
|
console.log("FOUND CHATBOX")
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue