mirror of
https://github.com/stronk-dev/LivepeerEvents.git
synced 2025-07-05 02:35:09 +02:00
update /orchestrator path to /stake
This commit is contained in:
parent
ac6d0335d7
commit
9b0e26c075
@ -24,7 +24,7 @@ export default function App() {
|
|||||||
<Route exact path='/stats' element={<Stats />} />
|
<Route exact path='/stats' element={<Stats />} />
|
||||||
<Route exact path='/summary' element={<Summary />} />
|
<Route exact path='/summary' element={<Summary />} />
|
||||||
<Route exact path='/graphs' element={<Graphs />} />
|
<Route exact path='/graphs' element={<Graphs />} />
|
||||||
<Route exact path='/orchestrator' element={<Grafana />} />
|
<Route exact path='/stake' element={<Grafana />} />
|
||||||
<Route path='/' element={<Home />} />
|
<Route path='/' element={<Home />} />
|
||||||
</Routes>
|
</Routes>
|
||||||
<div id="dvdlogo" style={{animationDelay: randomDelay}}>
|
<div id="dvdlogo" style={{animationDelay: randomDelay}}>
|
||||||
|
@ -17,7 +17,7 @@ const Home = (obj) => {
|
|||||||
const [redirectToStats, setRedirectToStats] = useState(false);
|
const [redirectToStats, setRedirectToStats] = useState(false);
|
||||||
const [redirectToGraphs, setRedirectToGraphs] = useState(false);
|
const [redirectToGraphs, setRedirectToGraphs] = useState(false);
|
||||||
if (redirectToGrafana) {
|
if (redirectToGrafana) {
|
||||||
return <Navigate push to="/orchestrator" />;
|
return <Navigate push to="/stake" />;
|
||||||
}
|
}
|
||||||
if (redirectToLPT) {
|
if (redirectToLPT) {
|
||||||
return <Navigate push to="/livepeer" />;
|
return <Navigate push to="/livepeer" />;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user