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

eslint fix

This commit is contained in:
muerwre 2019-08-09 12:23:07 +07:00
parent dfaac877fb
commit fa4d51360b
81 changed files with 741 additions and 972 deletions

View file

@ -1,4 +1,4 @@
import {IBlock, INode} from "../types";
import { IBlock, INode } from '../types';
export const EMPTY_BLOCK: IBlock = {
type: null,
@ -25,4 +25,4 @@ export const EMPTY_NODE: INode = {
show_description: false,
}
},
}
};

View file

@ -1,3 +1,3 @@
export const NODE_HANDLERS = {
};
};

View file

@ -1,9 +1,9 @@
import { createReducer } from "~/utils/reducer";
import { INode } from "../types";
import { EMPTY_BLOCK, EMPTY_NODE } from "./constants";
import { NODE_HANDLERS } from "./handlers";
import { EMPTY_FILE } from "../uploads/constants";
import uuid from 'uuid4';
import { createReducer } from '~/utils/reducer';
import { INode } from '../types';
import { EMPTY_BLOCK, EMPTY_NODE } from './constants';
import { NODE_HANDLERS } from './handlers';
import { EMPTY_FILE } from '../uploads/constants';
export type INodeState = Readonly<{
is_loading: boolean;

View file

@ -1,3 +1,3 @@
export default function* nodeSaga() {
}
}

View file

@ -1,4 +1,4 @@
import { IState } from "../store";
import { INodeState } from "./reducer";
import { IState } from '../store';
import { INodeState } from './reducer';
export const selectNode = (state: IState): INodeState => state.node;
export const selectNode = (state: IState): INodeState => state.node;