mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 04:46:40 +07:00
fixed ramda imports to reduce bundle size
This commit is contained in:
parent
a497912049
commit
097b091abd
47 changed files with 208 additions and 91 deletions
|
@ -1,7 +1,7 @@
|
|||
import { autorun, makeAutoObservable, runInAction } from 'mobx';
|
||||
import { keys, values, without } from 'ramda';
|
||||
|
||||
import { EmbedMetadata } from '~/types/metadata';
|
||||
import { keys, values, without } from '~/utils/ramda';
|
||||
|
||||
const MAX_QUEUE_SIZE = 25;
|
||||
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
import { makeAutoObservable, runInAction } from 'mobx';
|
||||
import { has, omit, values } from 'ramda';
|
||||
|
||||
import { ERROR_LITERAL, ERRORS } from '~/constants/errors';
|
||||
import { UploadType } from '~/constants/uploads';
|
||||
import { IFile, UUID } from '~/types';
|
||||
import { has, omit, values } from '~/utils/ramda';
|
||||
import { getFileType, uploadGetThumb } from '~/utils/uploader';
|
||||
|
||||
export interface UploadStatus {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue