1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 21:06:42 +07:00

saving node and showing dialog

This commit is contained in:
muerwre 2019-08-24 18:05:46 +07:00
parent 95443635b4
commit 05980ce440
4 changed files with 14 additions and 6 deletions

View file

@ -1,7 +1,7 @@
import { INode } from '../types';
import { FLOW_ACTIONS } from './constants';
import { IFlowState } from './reducer';
export const flowSetNodes = (nodes: INode[]) => ({
export const flowSetNodes = (nodes: IFlowState['nodes']) => ({
nodes,
type: FLOW_ACTIONS.SET_NODES,
});