Skip to content

Commit e26d857

Browse files
committed
(fixed) issue in which onclick of node was not dispatching actions
1 parent cb3596d commit e26d857

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/app/components/StateRoute.tsx

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,14 @@ const StateRoute = (props: StateRouteProps) => {
8181
//* we wrap History in a ParentSize div, in order to make use of Visx's Zoom functionality
8282
const renderHistory = () => {
8383
if (hierarchy) {
84-
return <History hierarchy={hierarchy} />;
84+
return (
85+
<History
86+
hierarchy={hierarchy}
87+
dispatch={dispatch}
88+
sliderIndex={sliderIndex}
89+
viewIndex={viewIndex}
90+
/>
91+
);
8592
}
8693
return <div className="noState">{NO_STATE_MSG}</div>;
8794
};

0 commit comments

Comments
 (0)