mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 12:56:41 +07:00
6 lines
309 B
TypeScript
6 lines
309 B
TypeScript
import { IState } from '../store';
|
|
|
|
export const selectNode = (state: IState) => state.node;
|
|
export const selectNodeComments = (state: IState) => state.node.comments;
|
|
export const selectNodeCurrent = (state: IState) => state.node.current;
|
|
export const selectNodeEditor = (state: IState) => state.node.editor;
|