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

node layout placeholder

This commit is contained in:
muerwre 2019-08-25 16:19:33 +07:00
parent b154277de8
commit f121dea3ea
3 changed files with 29 additions and 13 deletions

View file

@ -5,6 +5,7 @@ import { INodeState } from './reducer';
const setSaveErrors = (state: INodeState, { errors }: ReturnType<typeof nodeSetSaveErrors>) =>
assocPath(['errors'], errors, state);
const setLoading = (state: INodeState, { is_loading }: ReturnType<typeof nodeSetLoading>) =>
assocPath(['is_loading'], is_loading, state);