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:
parent
33e9e01f29
commit
4b79b06106
39 changed files with 64 additions and 63 deletions
|
@ -30,7 +30,7 @@ export type IStatBackend = {
|
|||
|
||||
export type IBorisState = Readonly<{
|
||||
stats: {
|
||||
git: IStatGitRow[];
|
||||
git: Partial<IStatGitRow>[];
|
||||
backend: IStatBackend;
|
||||
is_loading: boolean;
|
||||
};
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import assocPath from 'ramda/es/assocPath';
|
||||
import { assocPath } from 'ramda';
|
||||
import { FLOW_ACTIONS } from './constants';
|
||||
import {
|
||||
flowSetNodes,
|
||||
|
|
|
@ -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';
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import assocPath from 'ramda/es/assocPath';
|
||||
import { assocPath } from 'ramda';
|
||||
import { NODE_ACTIONS } from './constants';
|
||||
import {
|
||||
nodeSetSaveErrors,
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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>) =>
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue