1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 12:56:41 +07:00

tried grid

This commit is contained in:
muerwre 2019-08-08 17:21:59 +07:00
parent 10b013f9a8
commit 125a120c85
6 changed files with 25 additions and 17 deletions

View file

@ -37,4 +37,5 @@ export const EMPTY_UPLOAD_STATUS: IUploadStatus = {
progress: 0,
thumbnail_url: null,
type: null,
temp_id: null,
}

View file

@ -11,6 +11,7 @@ export interface IUploadStatus {
type: string;
thumbnail_url: string;
progress: number;
temp_id: UUID;
}
export interface IUploadState {

View file

@ -49,6 +49,7 @@ function* uploadFile({ file, temp_id }: IFileWithUUID) {
preview,
is_uploading: true,
type: file.type,
temp_id,
}
)
);