This repository was archived by the owner on Jul 19, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed
Expand file tree Collapse file tree 4 files changed +5
-5
lines changed File renamed without changes.
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import React from 'react';
22import ReactDOM from 'react-dom/client' ;
33import './jquery-import' ;
44import { Provider } from 'react-redux' ;
5- import store , { persistor } from './redux/store' ;
5+ import store from './redux/store' ;
66import '@webapp/../sass/profile.scss' ;
77import '@szhsin/react-menu/dist/index.css' ;
88import Notifications from '@webapp/ui/Notifications' ;
@@ -31,7 +31,7 @@ function App() {
3131 < div className = "pyroscope-app" >
3232 < LoadAppNames >
3333 < Switch >
34- < Route exact path = { ROUTES . CONTINOUS_SINGLE_VIEW } >
34+ < Route exact path = { ROUTES . SINGLE_VIEW } >
3535 < SingleView />
3636 </ Route >
3737 < Route path = { ROUTES . COMPARISON_VIEW } >
Original file line number Diff line number Diff line change @@ -60,13 +60,13 @@ export function Sidebar() {
6060 < SidebarContent >
6161 < Menu iconShape = "square" popperArrow >
6262 < MenuItem
63- active = { isRouteActive ( pathname , ROUTES . CONTINOUS_SINGLE_VIEW ) }
63+ active = { isRouteActive ( pathname , ROUTES . SINGLE_VIEW ) }
6464 icon = { < Icon icon = { faWindowMaximize } /> }
6565 >
6666 Single View
6767 < NavLink
6868 activeClassName = "active-route"
69- to = { { pathname : ROUTES . CONTINOUS_SINGLE_VIEW , search } }
69+ to = { { pathname : ROUTES . SINGLE_VIEW , search } }
7070 exact
7171 />
7272 </ MenuItem >
Original file line number Diff line number Diff line change 11export enum ROUTES {
2- CONTINOUS_SINGLE_VIEW = '/' ,
2+ SINGLE_VIEW = '/' ,
33 COMPARISON_VIEW = '/comparison' ,
44 COMPARISON_DIFF_VIEW = '/comparison-diff' ,
55}
You can’t perform that action at this time.
0 commit comments