diff --git a/src/pages/grafana.js b/src/pages/grafana.js
index f9c9183..d2ae2e5 100644
--- a/src/pages/grafana.js
+++ b/src/pages/grafana.js
@@ -11,10 +11,17 @@ import Orchestrator from "../components/orchestratorViewer";
const Grafana = (obj) => {
const livepeer = useSelector((state) => state.livepeerstate);
const [redirectToHome, setRedirectToHome] = useState(false);
+ const [thisChad, setChad] = useState("");
+
if (redirectToHome) {
return ;
}
+ if (thisChad == ""){
+ const randomChad = performance.now();
+ const chadSource = "https://nframe.nl/avatar.png?" + randomChad;
+ setChad(chadSource);
+ }
return (
@@ -51,7 +59,7 @@ const Home = (obj) => {
setRedirectToGrafana(true);
}}>
-

+
Orchestrator
diff --git a/src/pages/livepeer.js b/src/pages/livepeer.js
index 85eb9fd..29e4893 100644
--- a/src/pages/livepeer.js
+++ b/src/pages/livepeer.js
@@ -22,6 +22,7 @@ const Livepeer = (obj) => {
const [showFilter, setShowFilter] = useState(false);
const [opened, setOpened] = useState(false);
const [showSidebar, setShowSidebar] = useState(true);
+ const [thisChad, setChad] = useState("");
console.log("Rendering Livepeer");
useEffect(() => {
@@ -35,6 +36,7 @@ const Livepeer = (obj) => {
if (redirectToHome) {
return
;
}
+
let thisOrchObj;
let headerString;
@@ -45,6 +47,11 @@ const Livepeer = (obj) => {
headerString = "Livepeer Orchestrator Explorer";
}
+ if (thisChad == ""){
+ const randomChad = performance.now();
+ const chadSource = "https://nframe.nl/avatar.png?" + randomChad;
+ setChad(chadSource);
+ }
return (
@@ -54,7 +61,7 @@ const Livepeer = (obj) => {
setRedirectToHome(true);
}}>
-

+
🏠