1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-28 14:16:41 +07:00

removed upload redux store

This commit is contained in:
Fedor Katurov 2022-01-06 21:04:14 +07:00
parent 140e36b6b7
commit 95b92b643f
38 changed files with 398 additions and 691 deletions

View file

@ -1,6 +1,6 @@
import React, { FC } from 'react';
import { EditorUploadButton } from '~/components/editors/EditorUploadButton';
import { UPLOAD_TYPES } from '~/redux/uploads/constants';
import { UploadType } from '~/constants/uploads';
import { IEditorComponentProps } from '~/types/node';
type IProps = IEditorComponentProps & {};
@ -9,7 +9,7 @@ const EditorImageUploadButton: FC<IProps> = () => (
<EditorUploadButton
accept="image/*"
icon="image"
type={UPLOAD_TYPES.IMAGE}
type={UploadType.Image}
label="Добавить фоточек"
/>
);