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

fixed prettier, eslint?

This commit is contained in:
muerwre 2019-08-07 15:48:17 +07:00
parent 3eafd990cb
commit 3413b22ac2
6 changed files with 70 additions and 20 deletions

View file

@ -11,7 +11,7 @@ function* uploadCall({ temp_id, onProgress, file }) {
return yield call(reqWrapper, fakeUploader, { file: { url: 'some', error: 'cant do this boss' }, onProgress, mustSucceed: true });
}
function* onUploadProgress(chan) {
function* onUploadProgress(chan) {
while (true) {
const { progress, temp_id }: { progress: number; temp_id: string } = yield take(chan);