add thumbnail preview for each queued image.
Create and revoke blob URLs on pick and session reset; reset upload session on view unmount.
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
export const revokeQueueThumbnailUrls = (urlsByKey: Record<string, string>): void => {
|
||||
for (const url of Object.values(urlsByKey)) {
|
||||
URL.revokeObjectURL(url);
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user