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:
parent
dfaac877fb
commit
fa4d51360b
81 changed files with 741 additions and 972 deletions
|
@ -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,
|
||||
}
|
||||
},
|
||||
}
|
||||
};
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
export const NODE_HANDLERS = {
|
||||
|
||||
};
|
||||
};
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
export default function* nodeSaga() {
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue