Skip to content

Commit 520bc33

Browse files
improved psuedocode readability
Co-authored-by: Alexander Landeros <[email protected]>
1 parent a13fb93 commit 520bc33

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/app/components/StateRoute.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,8 @@ const StateRoute = (props: StateRouteProps) => {
7272
// the hierarchy gets set upon the first click on the page
7373
// when the page is refreshed we may not have a hierarchy, so we need to check if hierarchy was initialized
7474
// if true, we invoke teh D3 render chart with hierarchy
75+
// by invoking History component, and passing in all the props required to render D3 elements and perform timeJump from clicking of node
76+
// otherwise we an alert to the user that no state was found.
7577
const renderHistory = () => {
7678
if (hierarchy) {
7779
return (

0 commit comments

Comments
 (0)