Set Riders
Configures the rider properties for the current track.
Syntax
store.dispatch({ type: "SET_RIDERS", payload: riders });
Parameters
riders
The Rider
array to set the track riders to.
Examples
Removes all riders from the current track.
store.dispatch({
type: "SET_RIDERS",
payload: []
});