mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 12:56:41 +07:00
fixed node loading
This commit is contained in:
parent
cf16cbf0f9
commit
d06593b4cb
3 changed files with 32 additions and 7 deletions
|
@ -13,7 +13,7 @@ const mapStateToProps = state => ({
|
|||
});
|
||||
|
||||
const mapDispatchToProps = {
|
||||
nodeLoadNode: NODE_ACTIONS.nodeLoadNode,
|
||||
nodeGotoNode: NODE_ACTIONS.nodeGotoNode,
|
||||
flowSetCellView: FLOW_ACTIONS.flowSetCellView,
|
||||
};
|
||||
|
||||
|
@ -22,7 +22,7 @@ type IProps = ReturnType<typeof mapStateToProps> & typeof mapDispatchToProps & {
|
|||
const FlowLayoutUnconnected: FC<IProps> = ({
|
||||
flow: { nodes, heroes, recent, updated },
|
||||
user,
|
||||
nodeLoadNode,
|
||||
nodeGotoNode,
|
||||
flowSetCellView,
|
||||
}) => (
|
||||
<FlowGrid
|
||||
|
@ -30,7 +30,7 @@ const FlowLayoutUnconnected: FC<IProps> = ({
|
|||
heroes={heroes}
|
||||
recent={recent}
|
||||
updated={updated}
|
||||
onSelect={nodeLoadNode}
|
||||
onSelect={nodeGotoNode}
|
||||
user={user}
|
||||
onChangeCellView={flowSetCellView}
|
||||
/>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue