Skip to content

Commit c8cec40

Browse files
committed
fixed performance view bug
1 parent 127776a commit c8cec40

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/app/components/StateRoute.tsx

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -139,12 +139,13 @@ const StateRoute = (props: StateRouteProps) => {
139139
<NavLink
140140
className="router-link"
141141
activeClassName="is-active"
142-
exact
143-
to="/"
142+
exact to="/"
144143
>
145144
Performance
146145
</NavLink>
147-
<NavLink className="router-link" activeClassName="is-active" to="/map">
146+
<NavLink className="router-link"
147+
activeClassName="is-active"
148+
to="/map">
148149
Map
149150
</NavLink>
150151
<NavLink
@@ -177,8 +178,8 @@ const StateRoute = (props: StateRouteProps) => {
177178
<Route path="/map" render={renderComponentMap} />
178179
<Route path="/history" render={renderHistory} />
179180
<Route path="/relationship" render={renderAtomsRelationship} />
180-
<Route path="/" render={renderPerfView} />
181181
<Route path="/tree" render={renderTree} />
182+
<Route path="/" render={renderPerfView} />
182183
</Switch>
183184
</Router>
184185
);

0 commit comments

Comments
 (0)