force migrate
This commit is contained in:
parent
25cd388ff3
commit
e3775c4c12
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ export class TLDrawState extends StateManager<Data> {
|
|||
super(TLDrawState.defaultState, id, TLDrawState.version, (prev, next) => {
|
||||
return {
|
||||
...next,
|
||||
document: { ...next.document, ...prev.document, version: prev.document.version },
|
||||
document: migrate({ ...next.document, ...prev.document, version: 0 }, TLDrawState.version),
|
||||
}
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in a new issue