Update electron to 24.2.0
This commit is contained in:
parent
9ad9b4da0f
commit
48545d6a83
9 changed files with 41 additions and 35 deletions
|
@ -10,7 +10,7 @@ import type { InMemoryAttachmentDraftType } from '../types/Attachment';
|
|||
import { fileToBytes } from './fileToBytes';
|
||||
|
||||
export async function handleVideoAttachment(
|
||||
file: Readonly<File>
|
||||
file: File
|
||||
): Promise<InMemoryAttachmentDraftType> {
|
||||
const objectUrl = URL.createObjectURL(file);
|
||||
if (!objectUrl) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue