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:
parent
95443635b4
commit
05980ce440
4 changed files with 14 additions and 6 deletions
|
@ -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,
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue