diff options
| author | cashmere <cashmere@autistici.org> | 2026-07-26 22:34:11 +0200 |
|---|---|---|
| committer | cashmere <cashmere@autistici.org> | 2026-07-26 22:34:11 +0200 |
| commit | 4b6caee158a4913f9fda423e4df7f9df2e8a53a0 (patch) | |
| tree | c8a7a2947f96ae264650fa3f5b56e36a34db704c /apps/web/src/hooks/use-raf-loop.ts | |
| parent | db3c7eee7e65831394787c47fbd41a4024537de4 (diff) | |
| download | opencut-4b6caee158a4913f9fda423e4df7f9df2e8a53a0.tar.gz | |
fix: guard MediaPreview against image assets without url
The image branch rendered <Image src={item.url ?? ""}>, crashing the
assets panel for any image asset lacking url. It now falls back to
thumbnailUrl and then to the existing MediaTypePlaceholder, mirroring the
video branch's fallback.
Diffstat (limited to 'apps/web/src/hooks/use-raf-loop.ts')
0 files changed, 0 insertions, 0 deletions
