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
|
let assetId: string
|
||||||
|
|
||||||
if (!match) {
|
if (!match) {
|
||||||
assetId = Utils.uniqueId()
|
assetId = id
|
||||||
|
|
||||||
const asset = {
|
const asset = {
|
||||||
id: assetId,
|
id: assetId,
|
||||||
|
|
Loading…
Reference in a new issue