1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-05-02 08:06:41 +07:00

file uploading template

This commit is contained in:
muerwre 2019-08-06 21:23:31 +07:00
parent cfe4731ded
commit 8dc43c77b7
7 changed files with 57 additions and 10 deletions
src/redux/uploads

View file

@ -0,0 +1,7 @@
import {UPLOAD_ACTIONS} from "~/redux/uploads/constants";
export const uploadUploadFiles = (files: File[], subject: string) => ({
files,
subject,
type: UPLOAD_ACTIONS.UPLOAD_FILES,
});