mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 21:06:42 +07:00
added recent to reducer
This commit is contained in:
parent
920a8adaa2
commit
746d10ce8b
8 changed files with 38 additions and 9 deletions
|
@ -12,6 +12,11 @@ export const flowSetHeroes = (heroes: IFlowState['heroes']) => ({
|
|||
type: FLOW_ACTIONS.SET_HEROES,
|
||||
});
|
||||
|
||||
export const flowSetRecent = (recent: IFlowState['recent']) => ({
|
||||
recent,
|
||||
type: FLOW_ACTIONS.SET_RECENT,
|
||||
});
|
||||
|
||||
export const flowSetCellView = (id: INode['id'], flow: INode['flow']) => ({
|
||||
type: FLOW_ACTIONS.SET_CELL_VIEW,
|
||||
id,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue