lod: fix up missing timeout from bad merge (#3964)
doh ### Change Type <!-- ❗ Please select a 'Scope' label ❗️ --> - [x] `sdk` — Changes the tldraw SDK - [ ] `dotcom` — Changes the tldraw.com web app - [ ] `docs` — Changes to the documentation, examples, or templates. - [ ] `vs code` — Changes to the vscode plugin - [ ] `internal` — Does not affect user-facing stuff <!-- ❗ Please select a 'Type' label ❗️ --> - [x] `bugfix` — Bug fix - [ ] `feature` — New feature - [ ] `improvement` — Improving existing features - [ ] `chore` — Updating dependencies, other boring stuff - [ ] `galaxy brain` — Architectural changes - [ ] `tests` — Changes to any test code - [ ] `tools` — Changes to infrastructure, CI, internal scripts, debugging tools, etc. - [ ] `dunno` — I don't know
This commit is contained in:
parent
f621f92ae2
commit
7327b0e428
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ export function useAsset(assetId: TLAssetId | null, width: number) {
|
|||
screenScale,
|
||||
})
|
||||
if (!isCancelled) setUrl(resolvedUrl)
|
||||
})
|
||||
}, 500)
|
||||
|
||||
return () => {
|
||||
clearTimeout(timer)
|
||||
|
|
Loading…
Reference in a new issue