mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 12:56:41 +07:00
eslint fix
This commit is contained in:
parent
fa4d51360b
commit
5fb3445741
6 changed files with 9248 additions and 18023 deletions
|
@ -11,7 +11,7 @@ export const UPLOAD_ACTIONS = {
|
|||
DROP_STATUS: `${prefix}DROP_STATUS`,
|
||||
SET_STATUS: `${prefix}SET_STATUS`,
|
||||
|
||||
ADD_FILE: `${prefix}ADD_FILE`,
|
||||
ADD_FILE: `${prefix}ADD_FILE`
|
||||
};
|
||||
|
||||
export const EMPTY_FILE: IFile = {
|
||||
|
@ -25,7 +25,7 @@ export const EMPTY_FILE: IFile = {
|
|||
url: 'https://cdn.arstechnica.net/wp-content/uploads/2017/09/mario-collage-800x450.jpg',
|
||||
size: 2400000,
|
||||
type: 'image',
|
||||
mime: 'image/jpeg',
|
||||
mime: 'image/jpeg'
|
||||
};
|
||||
|
||||
export const EMPTY_UPLOAD_STATUS: IUploadStatus = {
|
||||
|
@ -37,5 +37,5 @@ export const EMPTY_UPLOAD_STATUS: IUploadStatus = {
|
|||
progress: 0,
|
||||
thumbnail_url: null,
|
||||
type: null,
|
||||
temp_id: null,
|
||||
temp_id: null
|
||||
};
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
import {
|
||||
takeEvery, all, spawn, call, put, take, fork, race
|
||||
} from 'redux-saga/effects';
|
||||
import { takeEvery, all, spawn, call, put, take, fork, race } from 'redux-saga/effects';
|
||||
import { UPLOAD_ACTIONS } from '~/redux/uploads/constants';
|
||||
import {
|
||||
uploadUploadFiles, uploadSetStatus, uploadAddStatus, uploadDropStatus, uploadAddFile
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue