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

fixed for nextjs, but it won't work

This commit is contained in:
Fedor Katurov 2020-11-06 18:36:28 +07:00
parent 33e9e01f29
commit 4b79b06106
39 changed files with 64 additions and 63 deletions

View file

@ -2,18 +2,14 @@ import React, { FC, useCallback, useEffect, useState } from "react";
import styles from "./styles.module.scss";
import { connect } from "react-redux";
import { getURL } from "~/utils/dom";
import pick from "ramda/es/pick";
import { selectAuthUser, selectAuthProfile } from "~/redux/auth/selectors";
import { pick } from "ramda";
import { selectAuthProfile, selectAuthUser } from "~/redux/auth/selectors";
import { PRESETS } from "~/constants/urls";
import { selectUploads } from "~/redux/uploads/selectors";
import { IFileWithUUID } from "~/redux/types";
import uuid from "uuid4";
import {
UPLOAD_SUBJECTS,
UPLOAD_TARGETS,
UPLOAD_TYPES
} from "~/redux/uploads/constants";
import path from "ramda/es/path";
import { UPLOAD_SUBJECTS, UPLOAD_TARGETS, UPLOAD_TYPES } from "~/redux/uploads/constants";
import { path } from 'ramda';
import * as UPLOAD_ACTIONS from "~/redux/uploads/actions";
import * as AUTH_ACTIONS from "~/redux/auth/actions";
import { Icon } from "~/components/input/Icon";