Use id as assetId (#949)
This commit is contained in:
parent
55ea729e3e
commit
bb9e7ee47c
1 changed files with 1 additions and 1 deletions
|
@ -3440,7 +3440,7 @@ export class TldrawApp extends StateManager<TDSnapshot> {
|
|||
let assetId: string
|
||||
|
||||
if (!match) {
|
||||
assetId = Utils.uniqueId()
|
||||
assetId = id
|
||||
|
||||
const asset = {
|
||||
id: assetId,
|
||||
|
|
Loading…
Reference in a new issue