Skip to content

Commit bab5fd0

Browse files
(added) dispatch prop to history VISX component
coauthor Chris Guizzetti <[email protected]>
1 parent 7bed40c commit bab5fd0

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/app/components/StateRoute.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,12 @@ const StateRoute = (props: StateRouteProps) => {
8080
//* we wrap History in a ParentSize div, in order to make use of Visx's Zoom functionality
8181
const renderHistory = () => {
8282
if (hierarchy) {
83-
return <History hierarchy={hierarchy} />;
83+
return (<History
84+
hierarchy={hierarchy}
85+
dispatch={dispatch}
86+
sliderIndex={sliderIndex}
87+
viewIndex={viewIndex}
88+
/>)
8489
}
8590
return <div className="noState">{NO_STATE_MSG}</div>;
8691
};

0 commit comments

Comments
 (0)