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

@ -30,7 +30,7 @@ export type IStatBackend = {
export type IBorisState = Readonly<{
stats: {
git: IStatGitRow[];
git: Partial<IStatGitRow>[];
backend: IStatBackend;
is_loading: boolean;
};

View file

@ -1,4 +1,4 @@
import assocPath from 'ramda/es/assocPath';
import { assocPath } from 'ramda';
import { FLOW_ACTIONS } from './constants';
import {
flowSetNodes,

View file

@ -17,7 +17,7 @@ import { selectFlowNodes, selectFlow } from './selectors';
import { reqWrapper } from '../auth/sagas';
import { postCellView, getSearchResults } from './api';
import { IFlowState } from './reducer';
import uniq from 'ramda/es/uniq';
import { uniq } from 'ramda';
function hideLoader() {
document.getElementById('main_loader').style.display = 'none';

View file

@ -1,4 +1,4 @@
import assocPath from 'ramda/es/assocPath';
import { assocPath } from 'ramda';
import { NODE_ACTIONS } from './constants';
import {
nodeSetSaveErrors,

View file

@ -1,6 +1,6 @@
import { takeLatest, call, put, select, delay, all, takeLeading } from 'redux-saga/effects';
import { push } from 'connected-react-router';
import omit from 'ramda/es/omit';
import { omit } from 'ramda';
import {
NODE_ACTIONS,

View file

@ -1,5 +1,5 @@
import { PLAYER_ACTIONS } from './constants';
import assocPath from 'ramda/es/assocPath';
import { assocPath } from 'ramda';
import { playerSetFile, playerSetStatus, playerSet } from './actions';
const setFile = (state, { file }: ReturnType<typeof playerSetFile>) =>

View file

@ -1,5 +1,5 @@
import assocPath from 'ramda/es/assocPath';
import omit from 'ramda/es/omit';
import { assocPath } from 'ramda';
import { omit } from 'ramda';
import { UPLOAD_ACTIONS, EMPTY_UPLOAD_STATUS } from './constants';
import {