Skip to content
12 changes: 12 additions & 0 deletions frontend/src/actions/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -389,6 +389,18 @@ export function handleSpiderMapClick(stops, latLng) {
};
}

export function handleTableRowHover(tableHoverRoute) {
return function(dispatch) {
dispatch({ type: 'RECEIVED_TABLE_ROW_HOVER', tableHoverRoute });
};
}

export function handleSpiderHover(routeId) {
return function(dispatch) {
dispatch({ type: 'RECEIVED_SPIDER_HOVER', routeId });
};
}

export function handleGraphParams(params) {
return function(dispatch, getState) {
const oldParams = getState().graphParams;
Expand Down
Loading