diff --git a/src/app/components/Actions/RouteDescription.tsx b/src/app/components/Actions/RouteDescription.tsx
index 80e17e382..92297e269 100644
--- a/src/app/components/Actions/RouteDescription.tsx
+++ b/src/app/components/Actions/RouteDescription.tsx
@@ -1,4 +1,6 @@
import React from 'react';
+import Slider from 'rc-slider';
+import VerticalSlider from '../TimeTravel/VerticalSlider';
/*
Render's the red route description on app's left sided column between the clear button and the list of state snapshots. The route description is derived from the first state snapshot.
@@ -12,12 +14,26 @@ const RouteDescription = (props: RouteProps): JSX.Element => {
const { actions } = props;
const url: URL = new URL(actions[0].props.routePath); // Use new URL to use the url.pathname method.
+
return (
-
-
Route: {url.pathname}
- {actions}
-
+
+
Route: {url.pathname}
+
+
+
+ {/* actual snapshots per route */}
+ {actions}
+
+
+
);
};
+
export default RouteDescription;
diff --git a/src/app/containers/ActionContainer.tsx b/src/app/containers/ActionContainer.tsx
index 495fc0aeb..040cb20d4 100644
--- a/src/app/containers/ActionContainer.tsx
+++ b/src/app/containers/ActionContainer.tsx
@@ -10,9 +10,6 @@ import ProvConContainer from './ProvConContainer';
import { ActionContainerProps, CurrentTab, MainState, Obj, RootState } from '../FrontendTypes';
import { Button, Switch } from '@mui/material';
-import Slider from 'rc-slider';
-import VerticalSlider from '../components/TimeTravel/VerticalSlider';
-
/*
This file renders the 'ActionContainer'. The action container is the leftmost column in the application. It includes the button that shrinks and expands the action container, a dropdown to select the active site, a clear button, the current selected Route, and a list of selectable snapshots with timestamps.
*/
@@ -252,27 +249,13 @@ function ActionContainer(props: ActionContainerProps): JSX.Element {
Clear
-
-
- {dropdownSelection === 'Provider/Consumer' &&
}
- {dropdownSelection === 'TimeJump' &&
- Object.keys(routes).map((route, i) => (
-
-
+
+ {dropdownSelection === 'Provider/Consumer' &&
}
+ {dropdownSelection === 'TimeJump' &&
+ Object.keys(routes).map((route, i) => (
-
))
- }
-
+ }
) : null}