You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This container renders the time-travel play button, seek bar, playback controls, and the playback speed dropdown, located towards the bottom of the application, above the locked, download, upload, and tutorial buttons
24
23
*/
@@ -37,10 +36,10 @@ const speeds: {
37
36
functionplay(// function that will start/pause slider movement
38
37
speed: number,
39
38
playing: boolean,
39
+
dispatch: (a: any)=>void,
40
40
snapshotsLength: number,
41
41
sliderIndex: number,
42
42
): void{
43
-
constdispatch=useDispatch();
44
43
if(playing){// if already playing, clicking the button will pause the slider
45
44
dispatch(pause());
46
45
}else{
@@ -81,7 +80,7 @@ function TravelContainer(props: TravelContainerProps): JSX.Element {
0 commit comments